Azure Auth Callback
curl --request POST \
--url https://api.studio.prisme.ai/v2/login/azure/callback \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/x-www-form-urlencoded' \
--data 'code=<string>' \
--data 'client_info=<string>' \
--data 'state=<string>' \
--data 'session_state=<string>'const options = {
method: 'POST',
headers: {
Authorization: 'Bearer <token>',
'Content-Type': 'application/x-www-form-urlencoded'
},
body: new URLSearchParams({
code: '<string>',
client_info: '<string>',
state: '<string>',
session_state: '<string>'
})
};
fetch('https://api.studio.prisme.ai/v2/login/azure/callback', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://api.studio.prisme.ai/v2/login/azure/callback"
payload = {
"code": "<string>",
"client_info": "<string>",
"state": "<string>",
"session_state": "<string>"
}
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/x-www-form-urlencoded"
}
response = requests.post(url, data=payload, headers=headers)
print(response.text)API Gateway
Azure Auth Callback
End azure authentication
POST
/
v2
/
login
/
azure
/
callback
Azure Auth Callback
curl --request POST \
--url https://api.studio.prisme.ai/v2/login/azure/callback \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/x-www-form-urlencoded' \
--data 'code=<string>' \
--data 'client_info=<string>' \
--data 'state=<string>' \
--data 'session_state=<string>'const options = {
method: 'POST',
headers: {
Authorization: 'Bearer <token>',
'Content-Type': 'application/x-www-form-urlencoded'
},
body: new URLSearchParams({
code: '<string>',
client_info: '<string>',
state: '<string>',
session_state: '<string>'
})
};
fetch('https://api.studio.prisme.ai/v2/login/azure/callback', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://api.studio.prisme.ai/v2/login/azure/callback"
payload = {
"code": "<string>",
"client_info": "<string>",
"state": "<string>",
"session_state": "<string>"
}
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/x-www-form-urlencoded"
}
response = requests.post(url, data=payload, headers=headers)
print(response.text)Authorizations
BearerAuthOrgApiKeyAuthBearerAuth & OrgApiKeyAuth
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Response
302
Redirection response
Was this page helpful?
⌘I