/authorize
Start the browser-based OAuth or OpenID Connect sign-in flow.
Endpoint
- Method:
GET - URL:
https://sso.user.m7.org/authorize - Response: hosted HTML page
When to use it
Use this as the main browser entrypoint when you want M7 to authenticate the user and return an authorization code to your application.
Current server support:
response_type=code- query response mode
- PKCE-friendly authorization code flow
- optional PAR handoff through
request_uri
Query parameters
client_idrequiredredirect_urirequiredresponse_typerequired Current supported value:codescoperecommendedstateexpected by the current hosted flowcode_challengerecommended for PKCE clientscode_challenge_methodrecommended when using PKCE Current discovery advertisesS256andplainnoncerecommended when requestingopenidlogin_hintoptionalpromptoptionalmax_ageoptionalrequest_urioptional Use this when you first sent the request through/par
Example
https://sso.user.m7.org/authorize?client_id=CLIENT_ID&redirect_uri=https%3A%2F%2Fapp.example.com%2Fcallback&response_type=code&scope=openid%20profile%20offline_access&state=STATE123&code_challenge=PKCE_CHALLENGE&code_challenge_method=S256&nonce=NONCE123
PAR example:
https://sso.user.m7.org/authorize?client_id=CLIENT_ID&request_uri=REQUEST_URI
Success behavior
After the user completes the hosted flow, M7 returns the browser to your redirect_uri with:
codestateif you supplied one
Example:
https://app.example.com/callback?code=AUTHORIZATION_CODE&state=STATE123
Notes
- Most client applications should start at
/authorize, not at/loginor/signup. client_idandredirect_uriare validated before the hosted flow proceeds.- If you are using PAR, send the full authorization request to
/parfirst, then send the browser here withrequest_uri.