Skip to Content
ZITADEL Docs
APIsCore ResourcesV1Authenticated User

GetMyLoginPolicy

GET
/auth/v1/policies/login

Response Body

Success

application/json
  1. response
policy?
Example Request
curl -X GET 'https://example.com/auth/v1/policies/login'
Example Response200
{  "policy": {    "details": {      "sequence": 0,      "creationDate": "2023-01-15T01:30:15.01Z",      "changeDate": "2023-01-15T01:30:15.01Z",      "resourceOwner": "string"    },    "allowUsernamePassword": true,    "allowRegister": true,    "allowExternalIdp": true,    "forceMfa": true,    "passwordlessType": "PASSWORDLESS_TYPE_NOT_ALLOWED",    "isDefault": true,    "hidePasswordReset": true,    "ignoreUnknownUsernames": true,    "defaultRedirectUri": "string",    "passwordCheckLifetime": "string",    "externalLoginCheckLifetime": "string",    "mfaInitSkipLifetime": "string",    "secondFactorCheckLifetime": "string",    "multiFactorCheckLifetime": "string",    "secondFactors": [      "SECOND_FACTOR_TYPE_UNSPECIFIED"    ],    "multiFactors": [      "MULTI_FACTOR_TYPE_UNSPECIFIED"    ],    "idps": [      {        "idpId": "string",        "idpName": "string",        "idpType": "IDP_TYPE_UNSPECIFIED"      }    ],    "allowDomainDiscovery": true,    "disableLoginWithEmail": true,    "disableLoginWithPhone": true,    "forceMfaLocalOnly": true  }}

Was this page helpful?