Skip to main content
GET
Get Session Status

Get Session Status

Poll the status of a JIT authentication session. Use this to know when the user has completed OAuth authorization.

Request

Path Parameters

session_id
string
required
The session ID returned from Create Auth Session

Response

status
string
Session status: pending, complete, or error
error
string
Error message if status is error

Status Values

Example Responses

Pending:
Complete:
Error:

Polling Example

Notes

  • Poll every 1-2 seconds
  • Sessions expire after 5 minutes
  • Once complete, you should call initialize() to refresh the client’s MIT
  • The session ID is single-use - don’t poll after receiving complete or error