Retrieve the information returned by the identity provider​
Retrieve the information returned by the identity provider for registration or updating an existing user with new information
Path Parameters
ID of the idp intent, previously returned on the success response of the IDP callback
Request Body required
Possible values: non-empty
and <= 200 characters
token of the idp intent, previously returned on the success response of the IDP callback
Request Body required
Possible values: non-empty
and <= 200 characters
token of the idp intent, previously returned on the success response of the IDP callback
Request Body required
Possible values: non-empty
and <= 200 characters
token of the idp intent, previously returned on the success response of the IDP callback
- 200
- 403
- 404
- default
OK
Schema
details object
idpInformation object
ID of the user in ZITADEL if external user is linked
{
"details": {
"sequence": "2",
"changeDate": "2024-05-10T13:32:02.647Z",
"resourceOwner": "69629023906488334"
},
"idpInformation": {
"oauth": {
"accessToken": "string",
"idToken": "string"
},
"ldap": {
"attributes": {}
},
"saml": {
"assertion": "string"
},
"idpId": "d654e6ba-70a3-48ef-a95d-37c8d8a7901a",
"userId": "6516849804890468048461403518",
"userName": "user@external.com",
"rawInformation": {}
},
"userId": "163840776835432345"
}
Schema
details object
idpInformation object
ID of the user in ZITADEL if external user is linked
{
"details": {
"sequence": "2",
"changeDate": "2024-05-10T13:32:02.648Z",
"resourceOwner": "69629023906488334"
},
"idpInformation": {
"oauth": {
"accessToken": "string",
"idToken": "string"
},
"ldap": {
"attributes": {}
},
"saml": {
"assertion": "string"
},
"idpId": "d654e6ba-70a3-48ef-a95d-37c8d8a7901a",
"userId": "6516849804890468048461403518",
"userName": "user@external.com",
"rawInformation": {}
},
"userId": "163840776835432345"
}
Schema
details object
idpInformation object
ID of the user in ZITADEL if external user is linked
{
"details": {
"sequence": "2",
"changeDate": "2024-05-10T13:32:02.648Z",
"resourceOwner": "69629023906488334"
},
"idpInformation": {
"oauth": {
"accessToken": "string",
"idToken": "string"
},
"ldap": {
"attributes": {}
},
"saml": {
"assertion": "string"
},
"idpId": "d654e6ba-70a3-48ef-a95d-37c8d8a7901a",
"userId": "6516849804890468048461403518",
"userName": "user@external.com",
"rawInformation": {}
},
"userId": "163840776835432345"
}
Returned when the user does not have permission to access the resource.
Schema
details object[]
{
"code": 0,
"message": "string",
"details": [
{
"@type": "string"
}
]
}
Schema
details object[]
{
"code": 0,
"message": "string",
"details": [
{
"@type": "string"
}
]
}
Schema
details object[]
{
"code": 0,
"message": "string",
"details": [
{
"@type": "string"
}
]
}
Returned when the resource does not exist.
Schema
details object[]
{
"code": 0,
"message": "string",
"details": [
{
"@type": "string"
}
]
}
Schema
details object[]
{
"code": 0,
"message": "string",
"details": [
{
"@type": "string"
}
]
}
Schema
details object[]
{
"code": 0,
"message": "string",
"details": [
{
"@type": "string"
}
]
}
An unexpected error response.
Schema
details object[]
{
"code": 0,
"message": "string",
"details": [
{
"@type": "string"
}
]
}
Schema
details object[]
{
"code": 0,
"message": "string",
"details": [
{
"@type": "string"
}
]
}
Schema
details object[]
{
"code": 0,
"message": "string",
"details": [
{
"@type": "string"
}
]
}
POST /v2beta/idp_intents/:idpIntentId
Authorization
name: OAuth2type: oauth2scopes:openid,urn:zitadel:iam:org:project:id:zitadel:aud
flows: { "authorizationCode": { "authorizationUrl": "$CUSTOM-DOMAIN/oauth/v2/authorize", "tokenUrl": "$CUSTOM-DOMAIN/oauth/v2/token", "scopes": { "openid": "openid", "urn:zitadel:iam:org:project:id:zitadel:aud": "urn:zitadel:iam:org:project:id:zitadel:aud" } } }
Request
Request
curl -L -X POST 'https://$CUSTOM-DOMAIN/v2beta/idp_intents/:idpIntentId' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
-H 'Authorization: Bearer <TOKEN>' \
--data-raw '{
"idpIntentToken": "SJKL3ioIDpo342ioqw98fjp3sdf32wahb="
}'
curl -L -X POST 'https://$CUSTOM-DOMAIN/v2beta/idp_intents/:idpIntentId' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
-H 'Authorization: Bearer <TOKEN>' \
--data-raw '{
"idpIntentToken": "SJKL3ioIDpo342ioqw98fjp3sdf32wahb="
}'
curl -L -X POST 'https://$CUSTOM-DOMAIN/v2beta/idp_intents/:idpIntentId' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
-H 'Authorization: Bearer <TOKEN>' \
--data-raw '{
"idpIntentToken": "SJKL3ioIDpo342ioqw98fjp3sdf32wahb="
}'
curl -L -X POST 'https://$CUSTOM-DOMAIN/v2beta/idp_intents/:idpIntentId' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
-H 'Authorization: Bearer <TOKEN>' \
--data-raw '{
"idpIntentToken": "SJKL3ioIDpo342ioqw98fjp3sdf32wahb="
}'
curl -L -X POST 'https://$CUSTOM-DOMAIN/v2beta/idp_intents/:idpIntentId' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
-H 'Authorization: Bearer <TOKEN>' \
--data-raw '{
"idpIntentToken": "SJKL3ioIDpo342ioqw98fjp3sdf32wahb="
}'
curl -L -X POST 'https://$CUSTOM-DOMAIN/v2beta/idp_intents/:idpIntentId' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
-H 'Authorization: Bearer <TOKEN>' \
--data-raw '{
"idpIntentToken": "SJKL3ioIDpo342ioqw98fjp3sdf32wahb="
}'
curl -L -X POST 'https://$CUSTOM-DOMAIN/v2beta/idp_intents/:idpIntentId' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
-H 'Authorization: Bearer <TOKEN>' \
--data-raw '{
"idpIntentToken": "SJKL3ioIDpo342ioqw98fjp3sdf32wahb="
}'
curl -L -X POST 'https://$CUSTOM-DOMAIN/v2beta/idp_intents/:idpIntentId' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
-H 'Authorization: Bearer <TOKEN>' \
--data-raw '{
"idpIntentToken": "SJKL3ioIDpo342ioqw98fjp3sdf32wahb="
}'
curl -L -X POST 'https://$CUSTOM-DOMAIN/v2beta/idp_intents/:idpIntentId' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
-H 'Authorization: Bearer <TOKEN>' \
--data-raw '{
"idpIntentToken": "SJKL3ioIDpo342ioqw98fjp3sdf32wahb="
}'