Skip to main content

Get credentials

1

Create an OIDC app

In the Okta Admin Console, go to Applications > Create App Integration and choose OIDC - OpenID Connect with application type Web Application.Set the Sign-in redirect URI to:
2

Copy your credentials

From the app settings, copy the Client ID and Client Secret. Your domain is shown at the top of the console: your-org.okta.com.

Configuration

lib/kavach.ts

Scopes

Default scopes: openid, profile, email
For Okta Identity Engine orgs, the domain may be a custom domain. Use the exact domain shown in your Okta Admin Console rather than the default okta.com subdomain.

Endpoints

Last modified on April 29, 2026