Table of Contents

Class OktaLoginProvider

Namespace
Dynamicweb.ExternalAuthentication
Assembly
Dynamicweb.ExternalAuthentication.dll

Okta login provider

[AddInName("Okta")]
[AddInDescription("Okta login provider.")]
public sealed class OktaLoginProvider : BaseOAuthLoginProvider, IUpdateOpenIdConnectOptions
Inheritance
OktaLoginProvider
Implements
Inherited Members

Properties

AuthorizationServerId

[AddInParameterGroup("External credentials")]
[AddInLabel("Authorization Server")]
[AddInParameter("AuthorizationServerId")]
[AddInParameterEditor(typeof(TextParameterEditor), "required")]
public string? AuthorizationServerId { get; set; }

Property Value

string

ClientId

[AddInParameterGroup("External credentials")]
[AddInLabel("Client id")]
[AddInParameter("ClientId")]
[AddInParameterEditor(typeof(TextParameterEditor), "required")]
public string? ClientId { get; set; }

Property Value

string

ClientSecret

[AddInParameterGroup("External credentials")]
[AddInLabel("Client secret")]
[AddInParameter("ClientSecret")]
[AddInParameterEditor(typeof(TextParameterEditor), "")]
public string? ClientSecret { get; set; }

Property Value

string

ErrorPage

Sets the page to show authentication error. Use it when the authentication provider is used in the frontend.

[AddInParameterGroup("Frontend")]
[AddInLabel("Authentication error page")]
[AddInParameter("ErrorPage")]
[AddInParameterEditor(typeof(PageSelectEditor), "")]
public override string? ErrorPage { get; set; }

Property Value

string

OktaDomain

[AddInParameterGroup("External credentials")]
[AddInLabel("Okta Domain")]
[AddInParameter("OktaDomain")]
[AddInParameterEditor(typeof(TextParameterEditor), "required")]
public string? OktaDomain { get; set; }

Property Value

string

ProviderScheme

The name of the provider authentication scheme.

[AddInParameterGroup("External credentials")]
[AddInLabel("Provider scheme")]
[AddInParameter("ProviderScheme")]
[AddInParameterEditor(typeof(TextParameterEditor), "required;info=Note, the redirect Uri parameter of identity provider must be set as /signin-{provider-scheme}, e.g. /signin-okta")]
public override string ProviderScheme { get; set; }

Property Value

string
To top