Get the login settings
Return the settings for the requested context
Query Parameters
- ctx.orgId string
- ctx.instance boolean
- 200
- 403
- 404
- default
OK
- application/json
- application/grpc
- application/grpc-web+proto
- Schema
- Example (from schema)
Schema
details object
sequence uint64on read: the sequence of the last event reduced by the projection
on manipulation: the timestamp of the event(s) added by the manipulation
changeDate date-timeon read: the timestamp of the last event reduced by the projection
on manipulation: the timestamp of the event(s) added by the manipulation
resourceOwner resource_owner is the organization or instance_id an object belongs tosettings object
allowUsernamePassword booleandefines if a user is allowed to log in with his username and password
allowRegister booleandefines if a person is allowed to register a user on this organization
allowExternalIdp booleandefines if a user is allowed to add a defined identity provider. E.g. Google auth
forceMfa booleandefines if a user MUST use a multi-factor to log in
passkeysType stringPossible values: [
PASSKEYS_TYPE_NOT_ALLOWED
,PASSKEYS_TYPE_ALLOWED
]Default value:
PASSKEYS_TYPE_NOT_ALLOWED
defines if passkeys are allowed for users
hidePasswordReset booleandefines if password reset link should be shown in the login screen
ignoreUnknownUsernames booleandefines if unknown username on login screen directly returns an error or always displays the password screen
defaultRedirectUri stringdefines where the user will be redirected to if the login is started without app context (e.g. from mail)
passwordCheckLifetime stringDefines after how much time the user has to re-authenticate with the password.
externalLoginCheckLifetime stringDefines after how much time the user has to re-authenticate with an external provider.
mfaInitSkipLifetime stringDefines after how much time the mfa prompt will be shown again.
secondFactorCheckLifetime stringDefines after how long the second-factor check is valid.
multiFactorCheckLifetime stringDefines how long the multi-factor check is valid.
secondFactors string[]Possible values: [
SECOND_FACTOR_TYPE_UNSPECIFIED
,SECOND_FACTOR_TYPE_OTP
,SECOND_FACTOR_TYPE_U2F
]multiFactors string[]Possible values: [
MULTI_FACTOR_TYPE_UNSPECIFIED
,MULTI_FACTOR_TYPE_U2F_WITH_VERIFICATION
]allowDomainDiscovery booleanIf set to true, the suffix (@domain.com) of an unknown username input on the login screen will be matched against the org domains and will redirect to the registration of that organization on success.
disableLoginWithEmail booleandefines if the user can additionally (to the login name) be identified by their verified email address
disableLoginWithPhone booleandefines if the user can additionally (to the login name) be identified by their verified phone number
resourceOwnerType resource_owner_type returns if the settings is managed on the organization or on the instancePossible values: [
RESOURCE_OWNER_TYPE_UNSPECIFIED
,RESOURCE_OWNER_TYPE_INSTANCE
,RESOURCE_OWNER_TYPE_ORG
]Default value:
RESOURCE_OWNER_TYPE_UNSPECIFIED
resource_owner_type returns if the settings is managed on the organization or on the instance
{
"details": {
"sequence": "2",
"changeDate": "2023-05-12",
"resourceOwner": "69629023906488334"
},
"settings": {
"allowUsernamePassword": true,
"allowRegister": true,
"allowExternalIdp": true,
"forceMfa": true,
"passkeysType": "PASSKEYS_TYPE_NOT_ALLOWED",
"hidePasswordReset": true,
"ignoreUnknownUsernames": true,
"defaultRedirectUri": "https://acme.com/ui/console",
"passwordCheckLifetime": "864000s",
"externalLoginCheckLifetime": "864000s",
"mfaInitSkipLifetime": "2592000s",
"secondFactorCheckLifetime": "64800s",
"multiFactorCheckLifetime": "43200s",
"secondFactors": [
"SECOND_FACTOR_TYPE_UNSPECIFIED"
],
"multiFactors": [
"MULTI_FACTOR_TYPE_UNSPECIFIED"
],
"allowDomainDiscovery": true,
"disableLoginWithEmail": true,
"disableLoginWithPhone": true,
"resourceOwnerType": "RESOURCE_OWNER_TYPE_UNSPECIFIED"
}
}
- Schema
- Example (from schema)
Schema
details object
sequence uint64on read: the sequence of the last event reduced by the projection
on manipulation: the timestamp of the event(s) added by the manipulation
changeDate date-timeon read: the timestamp of the last event reduced by the projection
on manipulation: the timestamp of the event(s) added by the manipulation
resourceOwner resource_owner is the organization or instance_id an object belongs tosettings object
allowUsernamePassword booleandefines if a user is allowed to log in with his username and password
allowRegister booleandefines if a person is allowed to register a user on this organization
allowExternalIdp booleandefines if a user is allowed to add a defined identity provider. E.g. Google auth
forceMfa booleandefines if a user MUST use a multi-factor to log in
passkeysType stringPossible values: [
PASSKEYS_TYPE_NOT_ALLOWED
,PASSKEYS_TYPE_ALLOWED
]Default value:
PASSKEYS_TYPE_NOT_ALLOWED
defines if passkeys are allowed for users
hidePasswordReset booleandefines if password reset link should be shown in the login screen
ignoreUnknownUsernames booleandefines if unknown username on login screen directly returns an error or always displays the password screen
defaultRedirectUri stringdefines where the user will be redirected to if the login is started without app context (e.g. from mail)
passwordCheckLifetime stringDefines after how much time the user has to re-authenticate with the password.
externalLoginCheckLifetime stringDefines after how much time the user has to re-authenticate with an external provider.
mfaInitSkipLifetime stringDefines after how much time the mfa prompt will be shown again.
secondFactorCheckLifetime stringDefines after how long the second-factor check is valid.
multiFactorCheckLifetime stringDefines how long the multi-factor check is valid.
secondFactors string[]Possible values: [
SECOND_FACTOR_TYPE_UNSPECIFIED
,SECOND_FACTOR_TYPE_OTP
,SECOND_FACTOR_TYPE_U2F
]multiFactors string[]Possible values: [
MULTI_FACTOR_TYPE_UNSPECIFIED
,MULTI_FACTOR_TYPE_U2F_WITH_VERIFICATION
]allowDomainDiscovery booleanIf set to true, the suffix (@domain.com) of an unknown username input on the login screen will be matched against the org domains and will redirect to the registration of that organization on success.
disableLoginWithEmail booleandefines if the user can additionally (to the login name) be identified by their verified email address
disableLoginWithPhone booleandefines if the user can additionally (to the login name) be identified by their verified phone number
resourceOwnerType resource_owner_type returns if the settings is managed on the organization or on the instancePossible values: [
RESOURCE_OWNER_TYPE_UNSPECIFIED
,RESOURCE_OWNER_TYPE_INSTANCE
,RESOURCE_OWNER_TYPE_ORG
]Default value:
RESOURCE_OWNER_TYPE_UNSPECIFIED
resource_owner_type returns if the settings is managed on the organization or on the instance
{
"details": {
"sequence": "2",
"changeDate": "2023-05-12",
"resourceOwner": "69629023906488334"
},
"settings": {
"allowUsernamePassword": true,
"allowRegister": true,
"allowExternalIdp": true,
"forceMfa": true,
"passkeysType": "PASSKEYS_TYPE_NOT_ALLOWED",
"hidePasswordReset": true,
"ignoreUnknownUsernames": true,
"defaultRedirectUri": "https://acme.com/ui/console",
"passwordCheckLifetime": "864000s",
"externalLoginCheckLifetime": "864000s",
"mfaInitSkipLifetime": "2592000s",
"secondFactorCheckLifetime": "64800s",
"multiFactorCheckLifetime": "43200s",
"secondFactors": [
"SECOND_FACTOR_TYPE_UNSPECIFIED"
],
"multiFactors": [
"MULTI_FACTOR_TYPE_UNSPECIFIED"
],
"allowDomainDiscovery": true,
"disableLoginWithEmail": true,
"disableLoginWithPhone": true,
"resourceOwnerType": "RESOURCE_OWNER_TYPE_UNSPECIFIED"
}
}
- Schema
- Example (from schema)
Schema
details object
sequence uint64on read: the sequence of the last event reduced by the projection
on manipulation: the timestamp of the event(s) added by the manipulation
changeDate date-timeon read: the timestamp of the last event reduced by the projection
on manipulation: the timestamp of the event(s) added by the manipulation
resourceOwner resource_owner is the organization or instance_id an object belongs tosettings object
allowUsernamePassword booleandefines if a user is allowed to log in with his username and password
allowRegister booleandefines if a person is allowed to register a user on this organization
allowExternalIdp booleandefines if a user is allowed to add a defined identity provider. E.g. Google auth
forceMfa booleandefines if a user MUST use a multi-factor to log in
passkeysType stringPossible values: [
PASSKEYS_TYPE_NOT_ALLOWED
,PASSKEYS_TYPE_ALLOWED
]Default value:
PASSKEYS_TYPE_NOT_ALLOWED
defines if passkeys are allowed for users
hidePasswordReset booleandefines if password reset link should be shown in the login screen
ignoreUnknownUsernames booleandefines if unknown username on login screen directly returns an error or always displays the password screen
defaultRedirectUri stringdefines where the user will be redirected to if the login is started without app context (e.g. from mail)
passwordCheckLifetime stringDefines after how much time the user has to re-authenticate with the password.
externalLoginCheckLifetime stringDefines after how much time the user has to re-authenticate with an external provider.
mfaInitSkipLifetime stringDefines after how much time the mfa prompt will be shown again.
secondFactorCheckLifetime stringDefines after how long the second-factor check is valid.
multiFactorCheckLifetime stringDefines how long the multi-factor check is valid.
secondFactors string[]Possible values: [
SECOND_FACTOR_TYPE_UNSPECIFIED
,SECOND_FACTOR_TYPE_OTP
,SECOND_FACTOR_TYPE_U2F
]multiFactors string[]Possible values: [
MULTI_FACTOR_TYPE_UNSPECIFIED
,MULTI_FACTOR_TYPE_U2F_WITH_VERIFICATION
]allowDomainDiscovery booleanIf set to true, the suffix (@domain.com) of an unknown username input on the login screen will be matched against the org domains and will redirect to the registration of that organization on success.
disableLoginWithEmail booleandefines if the user can additionally (to the login name) be identified by their verified email address
disableLoginWithPhone booleandefines if the user can additionally (to the login name) be identified by their verified phone number
resourceOwnerType resource_owner_type returns if the settings is managed on the organization or on the instancePossible values: [
RESOURCE_OWNER_TYPE_UNSPECIFIED
,RESOURCE_OWNER_TYPE_INSTANCE
,RESOURCE_OWNER_TYPE_ORG
]Default value:
RESOURCE_OWNER_TYPE_UNSPECIFIED
resource_owner_type returns if the settings is managed on the organization or on the instance
{
"details": {
"sequence": "2",
"changeDate": "2023-05-12",
"resourceOwner": "69629023906488334"
},
"settings": {
"allowUsernamePassword": true,
"allowRegister": true,
"allowExternalIdp": true,
"forceMfa": true,
"passkeysType": "PASSKEYS_TYPE_NOT_ALLOWED",
"hidePasswordReset": true,
"ignoreUnknownUsernames": true,
"defaultRedirectUri": "https://acme.com/ui/console",
"passwordCheckLifetime": "864000s",
"externalLoginCheckLifetime": "864000s",
"mfaInitSkipLifetime": "2592000s",
"secondFactorCheckLifetime": "64800s",
"multiFactorCheckLifetime": "43200s",
"secondFactors": [
"SECOND_FACTOR_TYPE_UNSPECIFIED"
],
"multiFactors": [
"MULTI_FACTOR_TYPE_UNSPECIFIED"
],
"allowDomainDiscovery": true,
"disableLoginWithEmail": true,
"disableLoginWithPhone": true,
"resourceOwnerType": "RESOURCE_OWNER_TYPE_UNSPECIFIED"
}
}
Returned when the user does not have permission to access the resource.
- application/json
- application/grpc
- application/grpc-web+proto
- Schema
- Example (from schema)
Schema
- code int32
- message string
details object[]
Array [@type string]
{
"code": 0,
"message": "string",
"details": [
{
"@type": "string"
}
]
}
- Schema
- Example (from schema)
Schema
- code int32
- message string
details object[]
Array [@type string]
{
"code": 0,
"message": "string",
"details": [
{
"@type": "string"
}
]
}
- Schema
- Example (from schema)
Schema
- code int32
- message string
details object[]
Array [@type string]
{
"code": 0,
"message": "string",
"details": [
{
"@type": "string"
}
]
}
Returned when the resource does not exist.
- application/json
- application/grpc
- application/grpc-web+proto
- Schema
- Example (from schema)
Schema
- code int32
- message string
details object[]
Array [@type string]
{
"code": 0,
"message": "string",
"details": [
{
"@type": "string"
}
]
}
- Schema
- Example (from schema)
Schema
- code int32
- message string
details object[]
Array [@type string]
{
"code": 0,
"message": "string",
"details": [
{
"@type": "string"
}
]
}
- Schema
- Example (from schema)
Schema
- code int32
- message string
details object[]
Array [@type string]
{
"code": 0,
"message": "string",
"details": [
{
"@type": "string"
}
]
}
An unexpected error response.
- application/json
- application/grpc
- application/grpc-web+proto
- Schema
- Example (from schema)
Schema
- code int32
- message string
details object[]
Array [@type string]
{
"code": 0,
"message": "string",
"details": [
{
"@type": "string"
}
]
}
- Schema
- Example (from schema)
Schema
- code int32
- message string
details object[]
Array [@type string]
{
"code": 0,
"message": "string",
"details": [
{
"@type": "string"
}
]
}
- Schema
- Example (from schema)
Schema
- code int32
- message string
details object[]
Array [@type string]
{
"code": 0,
"message": "string",
"details": [
{
"@type": "string"
}
]
}