Skip to main content

Documentation Index

Fetch the complete documentation index at: https://iam-docs.razi.ai/llms.txt

Use this file to discover all available pages before exploring further.

Once the OAuth flow is completed, the user will be redirected to the success or failure url. The success url will contain 2 query parameters intentId and intentToken. In order to validate the intent created in previous step, we need to call the following endpoint
curl --request POST \
  --url https://dev-iam.razi.ai/v1/authentication/idp/intents/validate \
  --header 'Content-Type: application/json' \
  --header 'X-App-Name: ' \
  --data '{
  "intentId": "163840776835432705",
  "idpToken": "JtERDtsWJPHHvkb0RWT3t_xu3KQimKbPdWzgYWJd26z3Rw"
}'
The above API implements below flow in backend: