Skip to main content

Get a User Authentication OpenID Connect Profile Info

GET Get by ID

https://useast.api.elasticpath.com/v2/authentication-realms/:realm-id/user-authentication-info/:user-authentication-info-id/user-authentication-oidc-profile-info/:user-authentication-oidc-profile-info-id

Parameters

Path parameters

NameRequiredTypeDescription
realm-idRequiredstringThe ID for the authentication-realm containing the requested user-authentication-oidc-profile-info object.
user-authentication-info-idRequiredstringThe ID for the user-authentication-info object containing the requested user-authentication-oidc-profile-info object.
user-authentication-oidc-profile-info-idRequiredstringThe ID for the requested user-authentication-oidc-profile-info object.

Headers

NameRequiredTypeDescription
AuthorizationRequiredstringThe Bearer token required to get access to the API.

Request Examples

Curl

curl -X GET https://useast.api.elasticpath.com/v2/authentication-realms/:realm-id/user-authentication-info/:user-authentication-info-id/user-authentication-oidc-profile-info/:user-authentication-oidc-profile-info-id \
-H "Authorization: Bearer XXXX" \

JavaScript SDK

const MoltinGateway = require('@moltin/sdk').gateway
const Moltin = MoltinGateway({
client_id: 'X'
})
const realmId = 'XXXX'
const userAuthenticationInfoId = 'XXXX'
const userAuthenticationOidcProfileId = 'XXXX'
Moltin.UserAuthenticationOidcProfileInfo.Get({
realmId,
userAuthenticationInfoId,
userAuthenticationOidcProfileId
}
)

Response Example

200 OK

{
"data": {
"id": "dc764c11-2a4b-4ab3-be71-45b06d6fec7b",
"subject": "testsubject2",
"issuer": "https://sso.provider.com/auth/realms/Sample/",
"meta": {
"created_at": "2021-06-07T18:25:02.696Z",
"updated_at": "2021-06-07T18:25:02.696Z"
},
"type": "user_authentication_oidc_profile_info",
"oidc_profile_id": "7f213d23-0a87-41b7-ad24-c58957ac7b9b"
},
"links": {
"self": "https://useast.api.elasticpath.com/v2/authentication-realms/b6cf44b5-5d52-46b8-ae6f-7f28847fb269/user-authentication-info/9738663b-2f64-47e0-b70f-eecd9fb28f53/user-authentication-oidc-profile-info/dc764c11-2a4b-4ab3-be71-45b06d6fec7b"
}
}