Skip to main content

Complete the OIDC browser callback

GET 

/api/v1/auth/oidc/:provider_id/callback

Consumes the one-use OIDC state and creates the normal opaque Jiandu session before redirecting to the application. Browser JavaScript never receives the provider token.

Request​

Responses​

Opaque Jiandu session issued and browser redirected

Response Headers
    Cache-Control

    Always no-store

    Location

    Relative application or settings destination

    Set-Cookie

    One or more session-issuance and OIDC-state-expiration headers

    X-Request-Id

    Opaque request correlation identifier. ProblemDetails.requestId carries the same value on JSON failures.