Login: Options

The options available to the user during the second step of the login process.

Login: Options

Title: Login: Options

Typeobject
RequiredNo
Additional propertiesNot allowed

Description: The options available to the user during the second step of the login process.

Example:

{
    "option_name": {
        "magiclink": "Magic Link",
        "password": "Password"
    },
    "options": [
        "password",
        "magiclink"
    ]
}
PropertyPatternTypeDeprecatedDefinitionTitle/Description
- oauth_provider_optionsNoarrayNo-OAuth Provider Options
- optionsNoarray or nullNo-Options

1. Property Login: Options > oauth_provider_options

Title: OAuth Provider Options

Typearray
RequiredNo

Description: List of available OAuth provider options for the user to choose from

Example:

{
    "provider_id": "google",
    "provider_image_url": "https://example.com/google.png",
    "provider_name": "Google"
}
Array restrictions
Min itemsN/A
Max itemsN/A
Items unicityFalse
Additional itemsFalse
Tuple validationSee below
Each item of this array must beDescription
SchemasLoginFirstFactorProviderOption-

1.1. Login: Options > oauth_provider_options > SchemasLoginFirstFactorProviderOption

Typeobject
RequiredNo
Additional propertiesAny type allowed
Defined in#/definitions/SchemasLoginFirstFactorProviderOption
PropertyPatternTypeDeprecatedDefinitionTitle/Description
- provider_idNostringNo-Provider ID
- provider_image_urlNostringNo-Provider Image URL
- provider_nameNostringNo-Provider Name

1.1.1. Property Login: Options > oauth_provider_options > oauth_provider_options items > provider_id

Title: Provider ID

Typestring
RequiredNo

Description: Unique identifier for the OAuth provider

Example:

"google"

1.1.2. Property Login: Options > oauth_provider_options > oauth_provider_options items > provider_image_url

Title: Provider Image URL

Typestring
RequiredNo

Description: URL to the image representing the OAuth provider

Example:

"https://example.com/google.png"

1.1.3. Property Login: Options > oauth_provider_options > oauth_provider_options items > provider_name

Title: Provider Name

Typestring
RequiredNo

Description: Human-readable name for the OAuth provider

Example:

"Google"

2. Property Login: Options > options

Title: Options

Typearray or null
RequiredNo

Description: List of available options for the user to choose from

Example:

{
    "option_id": "password",
    "option_name": "Password"
}
Array restrictions
Min itemsN/A
Max itemsN/A
Items unicityFalse
Additional itemsFalse
Tuple validationSee below
Each item of this array must beDescription
SchemasLoginFirstFactorOption-

2.1. Login: Options > options > SchemasLoginFirstFactorOption

Typeobject
RequiredNo
Additional propertiesAny type allowed
Defined in#/definitions/SchemasLoginFirstFactorOption
PropertyPatternTypeDeprecatedDefinitionTitle/Description
- option_idNostringNo-Option ID
- option_nameNostringNo-Option Name

2.1.1. Property Login: Options > options > options items > option_id

Title: Option ID

Typestring
RequiredNo

Description: Unique identifier for the login option

Example:

"password"

2.1.2. Property Login: Options > options > options items > option_name

Title: Option Name

Typestring
RequiredNo

Description: Human-readable name for the login option

Example:

"Password"