Retrieve the information returned by the identity provider
POSThttps://$CUSTOM-DOMAIN/v2/idp_intents/:idpIntentId
Retrieve the information returned by the identity provider for registration or updating an existing user with new information..
Request​
Path Parameters
ID of the idp intent, previously returned on the success response of the IDP callback
- application/json
- application/grpc
- application/grpc-web+proto
Body
required
Possible values: non-empty
and <= 200 characters
token of the idp intent, previously returned on the success response of the IDP callback
Body
required
Possible values: non-empty
and <= 200 characters
token of the idp intent, previously returned on the success response of the IDP callback
Body
required
Possible values: non-empty
and <= 200 characters
token of the idp intent, previously returned on the success response of the IDP callback
Responses​
- 200
- 403
- 404
- default
OK
- application/json
- application/grpc
- application/grpc-web+proto
- Schema
- Example (from schema)
Schema
details
object
idpInformation
object
ID of the user in ZITADEL if external user is linked
{
"details": {
"sequence": "2",
"changeDate": "2025-03-04T13:53:28.166Z",
"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
- Example (from schema)
Schema
details
object
idpInformation
object
ID of the user in ZITADEL if external user is linked
{
"details": {
"sequence": "2",
"changeDate": "2025-03-04T13:53:28.167Z",
"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
- Example (from schema)
Schema
details
object
idpInformation
object
ID of the user in ZITADEL if external user is linked
{
"details": {
"sequence": "2",
"changeDate": "2025-03-04T13:53:28.167Z",
"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.
- application/json
- application/grpc
- application/grpc-web+proto
- Schema
- Example (from schema)
Schema
details
object[]
{
"code": 0,
"message": "string",
"details": [
{
"@type": "string"
}
]
}
- Schema
- Example (from schema)
Schema
details
object[]
{
"code": 0,
"message": "string",
"details": [
{
"@type": "string"
}
]
}
- Schema
- Example (from schema)
Schema
details
object[]
{
"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
details
object[]
{
"code": 0,
"message": "string",
"details": [
{
"@type": "string"
}
]
}
- Schema
- Example (from schema)
Schema
details
object[]
{
"code": 0,
"message": "string",
"details": [
{
"@type": "string"
}
]
}
- Schema
- Example (from schema)
Schema
details
object[]
{
"code": 0,
"message": "string",
"details": [
{
"@type": "string"
}
]
}
An unexpected error response.
- application/json
- application/grpc
- application/grpc-web+proto
- Schema
- Example (from schema)
Schema
details
object[]
{
"code": 0,
"message": "string",
"details": [
{
"@type": "string"
}
]
}
- Schema
- Example (from schema)
Schema
details
object[]
{
"code": 0,
"message": "string",
"details": [
{
"@type": "string"
}
]
}
- Schema
- Example (from schema)
Schema
details
object[]
{
"code": 0,
"message": "string",
"details": [
{
"@type": "string"
}
]
}
- curl
- python
- go
- nodejs
- ruby
- csharp
- php
- java
- powershell
- CURL
curl -L 'https://$CUSTOM-DOMAIN/v2/idp_intents/:idpIntentId' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
-H 'Authorization: Bearer <TOKEN>' \
-d '{
"idpIntentToken": "SJKL3ioIDpo342ioqw98fjp3sdf32wahb="
}'