Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error 400, redirect_uri_mismatch #13

Closed
Monsieux opened this issue Dec 26, 2018 · 4 comments
Closed

Error 400, redirect_uri_mismatch #13

Monsieux opened this issue Dec 26, 2018 · 4 comments

Comments

@Monsieux
Copy link

Monsieux commented Dec 26, 2018

Lads, thanks for this fantastic project. Its the first time I'm implementing a solution using OAuth2.

At this moment I receive an error which is:

The redirect URI in the request, urn:ietf:wg:oauth:2.0:oob, can only be used by a Client ID for native application. It is not allowed for the WEB client type...

Using vendor/rapidwebltd/php-google-oauth-2-handler/src/setup.php, I created a login with a type of Webserver. Because my project is a PHP project. Within the steps I don't know what the redirect URI is and I think I'm missing the refresh token.

Is there a way you anyone can help me figuring this out? Searched the internet therefor, but I'm getting more confused.

error google uri

Thanks in Advance!

@Monsieux
Copy link
Author

I think I made it work, after manually creating a clientid. Very weird tho.
Fantastic project!

@hasnatbabur
Copy link

If you choose application type to "Other" then problem is solved!

@ajinkyakolhe
Copy link

If you choose application type to "Other" then problem is solved!

This works perfect. I have been trying to resolve this for so long!

@QuesnelJ
Copy link

QuesnelJ commented May 7, 2020

If you choose application type to "Other" then problem is solved!

hasnatbabur dude, you are a life saver. I've been working on this for dayS, and your solution made it work. Thank you ever soooooo much.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants