Interface ClientCrossidOpts

Client options to configure a client for a crossid tenant, visit us at crossid.io.

Hierarchy

  • BaseClientOpts
    • ClientCrossidOpts

Properties

auth_server?: string

custom authorization server, defaults to default

authorizationOpts: Partial<BaseAuthorizationCodeParams>
cache_type?: "memory" | "local_storage" | "session_storage"

Defines where cache data is stored, possible values are: memory, local_storage or session_storage. Default: 'memory'

client_id: string

OAuth2 client identifier of your application.

domain: string

full domain name as shown in the url and after registering an app

state_type?: "local_storage" | "session_storage"

Defines where cache data is stored, possible values local_storage or session_storage. In most cases session_storage is sufficient but local_storage is required in cases where your auth flow spread in multiple tabs (e.g., "activation by email link is opened within another tab) Default: 'session_storage'

template_id?: string

The template ID to display in the login/consent flow

ui_locales?: string

Defines the default locales to request for the login/consent ui