Skip to main content
POST
Obtenir un JWT
Cet endpoint retourne un JWT Mysoleas. Pour une connexion utilisateur, appelez-le apres /oauth/v2/authorize avec le code et le code_verifier PKCE. Pour une integration backend, utilisez client_credentials. Une fois le JWT obtenu, vous pouvez l’utiliser pour ouvrir une session dans votre application, appeler userinfo, ou consommer les routes gateway avec x-sp-auth-token.

Body

application/json
grant_type
enum<string>
required
Available options:
authorization_code,
client_credentials,
refresh_token
client_id
string
required
client_secret
string
code
string
redirect_uri
string
code_verifier
string
refresh_token
string
scope
string

Response

Token genere

token_type
string
Example:

"Bearer"

expires_in
integer
Example:

3600

access_token
string
refresh_token
string
id_token
string