Auth API

Request Authorization

Changed on

This endpoint lets you authorize by redirecting login prompts and consent signing process if applicable. This endpoint only supports authorization for the code grant flow.

get/oauth2/authorize

Request

  • Base URL
    https://id.staging.grubtech.io
  • URL
    https://id.staging.grubtech.io/oauth2/authorize
  • Auth
    none declared

Query parameters

client_idstring required

OAuth2 App client id

statestring required

State

redirect_uristring required

Redirect URI

code_challenge_methodstring

The method used to generate the challenge. Grubtech auth server supports only SHA256 yet.

code_challengestring

The generated challenge from the code_verifier. Required only when the code_challenge_method is specified.

Changes

    • breaking

      the response's property type changed from array to object for status

    • breaking

      the response's property type changed from array to object for status

    • warning

      removed the optional property from the response with the status

    • warning

      removed the optional property from the response with the status