Get OIDC Interaction Details
curl --request GET \
--url https://api.studio.prisme.ai/oidc/interaction/{grant}const options = {method: 'GET'};
fetch('https://api.studio.prisme.ai/oidc/interaction/{grant}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://api.studio.prisme.ai/oidc/interaction/{grant}"
response = requests.get(url)
print(response.text){
"prompt": "mfa",
"method": "totp",
"email": "<string>"
}{
"error": "BadParameters",
"message": "<string>",
"details": "<unknown>"
}OIDC
Get OIDC Interaction Details
Tell the sign-in front-end which step to render for a pending interaction. Returns the prompt name; for the mfa prompt it also returns the enrolment state and the account email so the front can render either a TOTP challenge or an enrolment QR code. For the consent prompt the grant is accepted server-side and the interaction is finished, which answers 303 instead of a body.
GET
/
oidc
/
interaction
/
{grant}
Get OIDC Interaction Details
curl --request GET \
--url https://api.studio.prisme.ai/oidc/interaction/{grant}const options = {method: 'GET'};
fetch('https://api.studio.prisme.ai/oidc/interaction/{grant}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://api.studio.prisme.ai/oidc/interaction/{grant}"
response = requests.get(url)
print(response.text){
"prompt": "mfa",
"method": "totp",
"email": "<string>"
}{
"error": "BadParameters",
"message": "<string>",
"details": "<unknown>"
}Path Parameters
Interaction uid
Response
Success Response
Was this page helpful?