Auth

Begin an SSO login flow

Looks up the SSO provider for the email's domain, generates PKCE + HMAC-signed state, sets a short-lived mnemom_sso_initiator cookie, and returns the IdP URL for the SPA to window.location.href to.

post/auth/sso/initiate

Request

  • Base URL: https://api.mnemom.ai/v1
  • URL: https://api.mnemom.ai/v1/auth/sso/initiate
  • Auth: none required

Request body

emailstring email required
redirect_afterstring

SPA path to return to after SSO completes (allowlisted).

Response

IdP URL returned. Also sets mnemom_sso_initiator cookie.

urlstring uri required

Changes

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