import requests
url = "https://platform.ankra.app/oauth/cloud/authorize"
headers = {"cookie": "ankra_session="}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {cookie: 'ankra_session='}};
fetch('https://platform.ankra.app/oauth/cloud/authorize', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));curl --request GET \
--url https://platform.ankra.app/oauth/cloud/authorize \
--cookie ankra_session=Authorize an Ankra Cloud organisation connection
Requires the person’s real Platform browser session and its MFA gate. Auth0 subject must match Cloud’s requested subject, the person must be an active member of the organisation, and the exact callback is deployment configured. Ankra Cloud is Ankra’s first-party client, so there is no separate approval page: the browser goes straight to the callback with a one-use, 60-second code bound to the PKCE challenge. Only the machine-authenticated exchange turns it into a grant, for the person’s current permissions in that one organisation and at most twelve hours.
import requests
url = "https://platform.ankra.app/oauth/cloud/authorize"
headers = {"cookie": "ankra_session="}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {cookie: 'ankra_session='}};
fetch('https://platform.ankra.app/oauth/cloud/authorize', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));curl --request GET \
--url https://platform.ankra.app/oauth/cloud/authorize \
--cookie ankra_session=Authorizations
Query Parameters
Response
To the exact callback with a one-use code, through Platform sign-in first, or back to the callback with error=access_denied, login_required or temporarily_unavailable when the person cannot be connected; no grant is created on an error.