Register an OpenID Connect web app


# Register an OpenID Connect web app

To integrate your web application with Asgardeo using OpenID Connect, you need to first register your web application as an OpenID Connect web application in Asgardeo. A cliend ID and client secret are issued to the application upon registration.

Follow the instructions given below.

# Register the app

To register the app:

  1. On the Asgardeo console (opens new window), go to Develop > Applications.

  2. Click New Application and select Traditional Web Application to open the following:

    Select app type in Asgardeo
  3. Enter the following details:

    Create a new web app
    Parameter Description
    Name A unique name to identify your application.
    Protocol

    The access configuration protocol that is used to log in to the application with SSO.

    Select OpenID Connect.
    Authorized redirect URLs

    The URL to which the authorization code is sent to upon user authentication and where the user is redirected to upon logout.

    To comply with RFC 8252 section 7.3, the redirect URL in the request does not need to have an exact port match with the authorized redirect URL if it is a loopback redirect URL. Only URLs with loopback IP addresses (127.0.0.1 and [::1] not localhost) are supported for this feature.

    Click Add Now if you want to try a sample app.
  4. Click Register to complete the registration.

# Get the client ID and secret

When you register your web application, a client ID and client secret are generated. Your web application will identify itself to Asgardeo with these credentials.

You can get this client ID and secret from the Protocol tab of the application as shown below.

Get client ID and secret of webapp

# What's next?