Authenticate users via Okta OpenID Connect with oktaProvider(). Create an OIDC web app in the Okta Admin Console, copy your domain, and configure the provider.
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:
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.