Re: OAuth Failure on Step 1--Authorize

816 0
Showing results for 
Search instead for 
Did you mean: 
5 - Automation Enthusiast
5 - Automation Enthusiast

I am going to integrate the OAuth2 authentication with my existing apps.
The first step is to send a GET request to .
But I failed on the first step.
Here is the error:


Below are the parameters for the GET request:

  • client_id = //not exposed here
  • client_secret = //not exposed here
  • redirect_uri = http://localhost/
  • response_type=code
  • scope=data.records:read data.records:write
  • state=sadjfhkjDFHKJShk23489sldfhjksdkssdffsf // random text
  • code_challenge_method=S256
    // where the code verifier is SLAJFlksdlksfjljasldjflasjflasjflasfjisfjjd

I already encoded the code verifier with SHA256 and then base64 URL. So I do not know what wrong it is.
Can anyone help?

1 Reply 1
5 - Automation Enthusiast
5 - Automation Enthusiast

I found that the Code_Challenge was generated incorrectly. 
I fixed it and it is ok now