OAuth 2.0 authorization code is not working

I was trying to implement the google OAuth 2.0, after getting the access from google user, I copied the authorization return code from the url. But it is not working.

Then I get the code from url.

Then I have paste it on api parameter and got the error every time

image

I have tried it lots of time. even postman shows the same error. How to solve this ?
[/quote]

image

I have tried it lots of time. even postman shows the same error. How to solve this ?

Pretty sure google uses

Authorization: Bearer (token)

In header after you retrieve the Oauth2 token.

1 Like

I think we use Bearer before token, not before the authorization code. I will get access token in the response of this api, but this api is not working.

This topic was automatically closed after 70 days. New replies are no longer allowed.