Authorize

Your application passes the following for obtaining a token:
  • URL :{{HOST}}/oidc-provider/v1/oauth2/authorize

  • Operation Type: GET

  • Header:

  • Parameters:
    • scope* - openid.

    • response_type* - OAuth 2.0 Response Type value that determines the authorization processing flow to be used, including what parameters are returned from the endpoints used when using the Authorization Code Flow ("code" is the only valid option allowed).

    • client_id* - OAuth 2.0 Client Identifier valid at the Authorization Server.

    • redirect_uri* - Redirection URI to which the response will be sent. This URI must exactly match one of the Redirection URI values for the client pre-registered at the OP (for machine clients, always use apiaccount://callback).

    • code_challenge* - this is a 43-128 character long client generated string that is first hashed using SHA-256 and then Base 64 encoded.

    • code_challenge_method* - must be set to "S256".

  • Request:

    {
        scope:"openid", 
        response_type:"code", client_id:"MDAwMDAwMDAtMDAwMC0wMDAwLTAwMDAtMDAwMDAwMDAwMDAwLjkyMWU2YzBiLTY2MzYtNDkzMi04NGU4LTZlZmRhMDEzY  TE5Ng==
        redirect_uri:"apiaccount://callback",
        state:999, code_challenge:"NWVlYzU0MTdkOTRjZmQ1ZTc3ODhlNmQ4NjVmNWQ2YjMzYmQyNjZlYTBlYzA2NzYyYzA5NmEwNzg4NTI3Yzk0Yw==",
        code_challenge_method:"S256"
    }