Skip to main content
GET
Start Sign in with Mysoleas
This endpoint starts the Sign in with Mysoleas flow. Before calling this endpoint, the user must have a Mysoleas account and create an OAuth2 application from the dashboard:
The dashboard lets you configure the client_id, allowed redirect URLs, scopes, and the information displayed during consent. Your application redirects the user there with client_id, redirect_uri, scope, state, and PKCE parameters. After authentication and consent, Mysoleas sends a code to your redirect_uri. Then exchange this code for a JWT through /oauth/v2/token. You can use this JWT to open a session in your own application. If you then call the Mysoleas gateway, send it in x-sp-auth-token.

Query Parameters

client_id
string
required

Identifiant de l'application OAuth.

redirect_uri
string<uri>
required

URL de retour autorisee pour l'application.

response_type
enum<string>
required

Use code for the authorization code flow.

Available options:
code
scope
string
required

Scopes demandes, par exemple openid profile email payments.

state
string
required

Valeur aleatoire que votre application verifie au retour.

code_challenge
string
required

Challenge PKCE genere par votre application.

code_challenge_method
enum<string>
required

Methode PKCE recommandee.

Available options:
S256

Response

302

Redirection vers redirect_uri avec un code OAuth2 ou une erreur.