AuthN Flow API Reference
note
Username parameters
- Non-email usernames have been implemented, so you may notice
username
andusername_format
parameters in relevant API endpoints email
behaves the same as before, with the addition of being duplicated in theusername
field where necessary if not included in the request- In some calls such as flow/start and flow/update, the
email
parameter only returns whenusername_format
is set toemail
- Some choices (e.g., verify_email, email_otp, magiclink) expect an email value when
need_email
is returned, to ensure an email address (required) is defined when a non-emailusername
is used in the request
post/v2/client/token/check
cURL
curl -sSLX POST 'https://authn.aws.us.pangea.cloud/v2/client/token/check' \
-H 'Authorization: Bearer <your_token>' \
-H 'Content-Type: application/json' \
-d '{}'
Response
200
Check a token
POST
https://authn.aws.us.pangea.cloud/v2/client/token/checkLook up a token and return its contents.
post/v2/flow/complete
cURL
curl -sSLX POST 'https://authn.aws.us.pangea.cloud/v2/flow/complete' \
-H 'Authorization: Bearer <your_token>' \
-H 'Content-Type: application/json' \
-d '{}'
Response
200
Complete sign-up/sign-in
POST
https://authn.aws.us.pangea.cloud/v2/flow/completeComplete a sign-up or sign-in flow.
post/v2/flow/restart
cURL
curl -sSLX POST 'https://authn.aws.us.pangea.cloud/v2/flow/restart' \
-H 'Authorization: Bearer <your_token>' \
-H 'Content-Type: application/json' \
-d '{}'
Response
200
Restart a sign-up/sign-in flow
POST
https://authn.aws.us.pangea.cloud/v2/flow/restartRestart a sign-up/sign-in flow choice.
agreements
post/v2/flow/start
cURL
curl -sSLX POST 'https://authn.aws.us.pangea.cloud/v2/flow/start' \
-H 'Authorization: Bearer <your_token>' \
-H 'Content-Type: application/json' \
-d '{}'
Response
200
Start a sign-up/sign-in flow
POST
https://authn.aws.us.pangea.cloud/v2/flow/startStart a new sign-up or sign-in flow.
post/v2/flow/update
cURL
curl -sSLX POST 'https://authn.aws.us.pangea.cloud/v2/flow/update' \
-H 'Authorization: Bearer <your_token>' \
-H 'Content-Type: application/json' \
-d '{}'
Response
200
Update a sign-up/sign-in flow
POST
https://authn.aws.us.pangea.cloud/v2/flow/updateUpdate a sign-up/sign-in flow.
empty
Was this article helpful?