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 single page application.
- Sign up for a free Asgardeo account
- Sign into Asgardeo console and navigate to Applications > New Application.
- Select Single Page Application
Next, complete the wizard popup by providing a suitable name and an authorized redirect URL.
Example
name: is-react
Authorized redirect URL: http://localhost:5173*
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:5173, 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 or the Quickstart guide under the React SDK for the AuthProvider
config.
- Client ID
- Base URL
- Redirect URL
In this step, we have ve registered our React app as an application in the Asgardeo console and generated the required metadata. Next, we will create a React app using Vite.