M
M
Maxim Tarabrin2018-12-17 22:16:47
Google
Maxim Tarabrin, 2018-12-17 22:16:47

How to fix authorization error with Google's OAuth2?

When authorizing through google, an error 400 occurs: Invalid parameter value for redirect_uri: Missing scheme: http%3A%2F%2F127.0.0.1%3A1337%2Fapi%2Foauth2callback
In the credentials to the client, I registered an allowed callback uri.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
S
Stanislav Makarov, 2018-12-18
@padr1no

Something some suspicious error message. It's as if the redirect_uri parameter you're passing in is being URL-encoded twice. It is unlikely that a Google service gives an error message so crookedly.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question