Register an application in Asgardeo
2 min
First unless you already have done that, you need to create an organization in Asgardeo and register your application as a Traditional Web Application.
- Sign up for a free Asgardeo account
- Sign into Asgardeo console and navigate to Applications > New Application.
- Select Traditional Web Application
Next, complete the wizard popup by providing a suitable name and an authorized redirect URL. Keep OpenID Connect selected as the protocol.
Example
name: is-nodejs
Authorized redirect URL: http://localhost:3000/oauth2/redirect
Info
The authorized redirect URL determines where Asgardeo should send users after they successfully log in. Typically, this will be the web address where your app is hosted. For this guide, we'll use http://localhost:3000/oauth2/redirect, as the sample app will be accessible at this URL.
You will need the following information available in the Quick Start tab of your app.
- Client ID
- Client Secret
After creating the application, navigate to User Management > Users and create a new user. We will use this user to log in to the Node.js app.
In this step, we have registered our Node.js app as an application in the Asgardeo console and generated the required metadata. Next, we will create a Node.js app using the Express.js framework.