curl --request POST \
--url https://api.mnemom.ai/v1/auth/sso/initiate \
--header 'Content-Type: application/json' \
--data '
{
"email": "jsmith@example.com",
"redirect_after": "<string>"
}
'{
"url": "<string>"
}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.
curl --request POST \
--url https://api.mnemom.ai/v1/auth/sso/initiate \
--header 'Content-Type: application/json' \
--data '
{
"email": "jsmith@example.com",
"redirect_after": "<string>"
}
'{
"url": "<string>"
}