Submit OIDC Login Credentials
curl --request POST \
--url https://api.studio.prisme.ai/oidc/interaction/{grant}/login \
--header 'Content-Type: application/x-www-form-urlencoded' \
--data 'login=<string>' \
--data 'password=<string>'const options = {
method: 'POST',
headers: {'Content-Type': 'application/x-www-form-urlencoded'},
body: new URLSearchParams({login: '<string>', password: '<string>'})
};
fetch('https://api.studio.prisme.ai/oidc/interaction/{grant}/login', 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}/login"
payload = {
"login": "<string>",
"password": "<string>"
}
headers = {"Content-Type": "application/x-www-form-urlencoded"}
response = requests.post(url, data=payload, headers=headers)
print(response.text){
"error": "AuthenticationError",
"message": "Unauthenticated"
}{
"error": "ForbiddenError",
"message": "Forbidden"
}OIDC
Submit OIDC Login Credentials
Submit the local (email + password) credentials for a pending login interaction. On success the primary factor is recorded on the OIDC session; the front-end must then navigate to GET /oidc/auth/ to resume the authorization request, which may in turn require an mfa interaction. Rate limited per login, falling back to the client IP when the request carries none. Returns 403 when local sign-in is disabled on this instance.
POST
/
oidc
/
interaction
/
{grant}
/
login
Submit OIDC Login Credentials
curl --request POST \
--url https://api.studio.prisme.ai/oidc/interaction/{grant}/login \
--header 'Content-Type: application/x-www-form-urlencoded' \
--data 'login=<string>' \
--data 'password=<string>'const options = {
method: 'POST',
headers: {'Content-Type': 'application/x-www-form-urlencoded'},
body: new URLSearchParams({login: '<string>', password: '<string>'})
};
fetch('https://api.studio.prisme.ai/oidc/interaction/{grant}/login', 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}/login"
payload = {
"login": "<string>",
"password": "<string>"
}
headers = {"Content-Type": "application/x-www-form-urlencoded"}
response = requests.post(url, data=payload, headers=headers)
print(response.text){
"error": "AuthenticationError",
"message": "Unauthenticated"
}{
"error": "ForbiddenError",
"message": "Forbidden"
}Path Parameters
Interaction uid
Body
application/x-www-form-urlencodedapplication/json
The route accepts both encodings; the Prisme.ai SDK submits the form-encoded one.
Response
Redirect back to the authorization request
Was this page helpful?