services.AddAuthentication(options => /* Auth configuration */)
.AddOkta(options =>
{
options.ClientId = "my-client-id";
options.ClientSecret = "my-client-secret";
options.Domain = "https://dev-000000.okta.com";
});
Property Name | Property Type | Description | Default Value |
---|---|---|---|
AuthorizationServer |
string |
The Okta custom authorization server to use for authentication. | default |
Domain |
string? |
The Okta domain (Org URL) to use for authentication. This can be found on the /dev/console page of the Okta admin portal for your account. |
null |
None.