Portal Flow
Use this flow to send authenticated users from your app to AuditAuth portal experiences.
1) Request Portal Exchange
Endpoint: GET /portal/exchange
Headers:
Authorization: Bearer <ACCESS_TOKEN>
Response:
coderedirectUrl(portal callback URL)
2) Authorize Portal Session
Endpoint: POST /portal/authorize
Body:
coderedirectUrl(must be an allowed application origin)
Response:
access_token(portal audience)refresh_tokenexpires_atuserapplication
Portal User Endpoints
GET /portal/mePATCH /portal/profilePATCH /portal/mfa/enablePATCH /portal/mfa/disable
Failure Cases
401: missing/invalid bearer token or invalid portal code403: feature blocked by plan permissions404: identity/application not found
Last updated on