userportal-public

Verify Sso Access

Verify SSO access to a protected roadmap.

This endpoint checks if the user's JWT token (from SSO authentication) grants access to the protected roadmap.

The frontend should call this after SSO authentication to verify that the user's email domain is allowed.

post/userportal/protection/verify-sso

Request

  • Base URL: https://api.feedback1.ai/api/v1
  • URL: https://api.feedback1.ai/api/v1/userportal/protection/verify-sso
  • Auth: none declared

Headers

F1-Productstring
Authorizationstring

Response

Successful Response

successboolean required

Whether access is granted

session_tokenstring nullable

Session token to store in cookie

expires_atstring date-time nullable

When the session expires

messagestring nullable

Error or info message

Example response

{
  "expires_at": "2024-01-01T12:00:00Z",
  "session_token": "sess_abc123...",
  "success": true
}

Changes

No recorded changes to this operation across all 1 revision of this API.