curl --request POST \
--url https://dev.api.formapulse.formafoot.fr/club/sso/initiate \
--header 'Content-Type: multipart/form-data' \
--form 'email=<string>' \
--form 'redirect_url=<string>'{
"authorization_url": "https://accounts.google.com/o/oauth2/v2/auth?client_id=...",
"state": "8f4a3b1c-7e2d-4a9f-8b6c-1d2e3f4a5b6c",
"code_verifier": "xR9qN2pK7mLvB3sE8tY4...",
"club_id": 42
}Demarre un flow d’authentification OpenID Connect avec le provider SSO du club correspondant a l’email fourni.
Le backend genere :
state (anti-CSRF)code_verifier (PKCE)Le frontend doit conserver le state et le code_verifier (en localStorage ou session) et les renvoyer au callback.
Endpoint public (aucune authentification requise).
curl --request POST \
--url https://dev.api.formapulse.formafoot.fr/club/sso/initiate \
--header 'Content-Type: multipart/form-data' \
--form 'email=<string>' \
--form 'redirect_url=<string>'{
"authorization_url": "https://accounts.google.com/o/oauth2/v2/auth?client_id=...",
"state": "8f4a3b1c-7e2d-4a9f-8b6c-1d2e3f4a5b6c",
"code_verifier": "xR9qN2pK7mLvB3sE8tY4...",
"club_id": 42
}Documentation Index
Fetch the complete documentation index at: https://formapulse.mintlify.app/llms.txt
Use this file to discover all available pages before exploring further.
Initie le flow SSO OIDC : retourne l'URL d'autorisation a ouvrir cote client,
ainsi que le state et le code_verifier (PKCE) a conserver pour le callback.
URL a ouvrir dans le navigateur pour authentifier l'utilisateur.
Valeur opaque a renvoyer au callback pour la validation CSRF.
PKCE code_verifier a conserver et renvoyer au callback.
Identifiant du club associe a la config SSO.