I want to use google oAuth from my webservice i have created new oAuth key but when I use it i get
Error: redirect_uri_mismatch
The redirect URI in the request: www.blabla.com
did not match a registered redirect URI
Now, where to find the registered redirect URI to change it, or where can I add another one. Under "API Access" menu of the console I can only "Edit brand information", "Create Another Client ID" and "Edit allowed domains", but I don't have permissions to add one.
Note: This steps are intended for novice users. Go to Google API console and click API Access tab on the sidebar. Click Edit Settings under Client ID for web applications block. Enter your URIs, one per line as shown in picture below, and click Save/Update.
To add a redirect URI that uses the http scheme with the 127.0. 0.1 loopback address, you must currently modify the replyUrlsWithType attribute in the application manifest.
It is not immediately apparent as to where to do this in my opinion, so here are some useful screenshots.
1) Navigate to the Credentials screen... something like "https://console.developers.google.com/apis/credentials...."
2) Click on your 'Oauth 2 client I.D.' link.. in this case it is "Web client 1"
2) At the bottom of the screen you can add your site url like - "http://localhost:[some number]/signin-google" and save.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With