Google OAuth2 Error: redirect_uri_mismatchNode Google OAuth2 redirect_uri_mismatchError: redirect_uri_mismatch while trying to get access_token using oauthError: redirect_uri_mismatch google api oauth2 to get access tokenGoogle OAuth 2.0 “error” : “redirect_uri_mismatch”400 Error: redirect_uri_mismatch for yotube video uploadGoogle Calendar API python redirect_uri_mismatchGoogle API Error: redirect_uri_mismatchError 400 redirect_uri_mismatch while request GoogleAdwords APIGoogle Authorized redirect URIs format“redirect_uri_mismatch” error, automatically appended with “www” - Google OAuth2
How to know whether to write accidentals as sharps or flats?
Can you cover a cube with copies of this shape?
What is the precise meaning of "подсел на мак"?
How do credit card companies know what type of business I'm paying for?
How Linux command "mount -a" works
Why can't we feel the Earth's revolution?
...and then she held the gun
Testing thermite for chemical properties
How can Caller ID be faked?
Does anyone recognize these rockets, and their location?
How do I gain the trust of other PCs?
Class to generate a pdf invoice
2 Managed Packages in 1 Dev Org
How would Japanese people react to someone refusing to say “itadakimasu” for religious reasons?
Have Steve Rogers (Captain America) and a young Erik Lehnsherr (Magneto) interacted during WWII?
Does knowing the surface area of all faces uniquely determine a tetrahedron?
Why can't I craft scaffolding in Minecraft 1.14?
Digital signature that is only verifiable by one specific person
How to make a villain when your PCs are villains?
How useful is the GRE Exam?
High-end PC graphics circa 1990?
Numerical second order differentiation
Print the phrase "And she said, 'But that's his.'" using only the alphabet
How did space travel spread through the galaxy?
Google OAuth2 Error: redirect_uri_mismatch
Node Google OAuth2 redirect_uri_mismatchError: redirect_uri_mismatch while trying to get access_token using oauthError: redirect_uri_mismatch google api oauth2 to get access tokenGoogle OAuth 2.0 “error” : “redirect_uri_mismatch”400 Error: redirect_uri_mismatch for yotube video uploadGoogle Calendar API python redirect_uri_mismatchGoogle API Error: redirect_uri_mismatchError 400 redirect_uri_mismatch while request GoogleAdwords APIGoogle Authorized redirect URIs format“redirect_uri_mismatch” error, automatically appended with “www” - Google OAuth2
.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty height:90px;width:728px;box-sizing:border-box;
My client is use other
type
I have no idea why i get redirect_uri_mismatch
error. It work on localhost but not on domain.
google-oauth google-oauth2
add a comment |
My client is use other
type
I have no idea why i get redirect_uri_mismatch
error. It work on localhost but not on domain.
google-oauth google-oauth2
add a comment |
My client is use other
type
I have no idea why i get redirect_uri_mismatch
error. It work on localhost but not on domain.
google-oauth google-oauth2
My client is use other
type
I have no idea why i get redirect_uri_mismatch
error. It work on localhost but not on domain.
google-oauth google-oauth2
google-oauth google-oauth2
edited Mar 25 at 4:08
user1434702
asked Mar 25 at 3:52
user1434702user1434702
345419
345419
add a comment |
add a comment |
1 Answer
1
active
oldest
votes
Client type other is for installed applications it should not have a redirect uri the way it works is it returns the authorization code directly back where it came from that being
- localhost
- 127.0.0.1
- urn:ietf:wg:oauth:2.0:oob
For some reason your code is sending a https redirect uri which is in correct it should not be doing this. It looks like you are using the code for a web browser application with a native application client.
my app is web application but i do auth all in java, so should i change client type to 'webapp'?
– user1434702
Mar 25 at 7:57
If you are using a web application then yes you should have a browser client. Remember to set the redirect uri up.
– DaImTo
Mar 25 at 7:58
add a comment |
Your Answer
StackExchange.ifUsing("editor", function ()
StackExchange.using("externalEditor", function ()
StackExchange.using("snippets", function ()
StackExchange.snippets.init();
);
);
, "code-snippets");
StackExchange.ready(function()
var channelOptions =
tags: "".split(" "),
id: "1"
;
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function()
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled)
StackExchange.using("snippets", function()
createEditor();
);
else
createEditor();
);
function createEditor()
StackExchange.prepareEditor(
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader:
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
,
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
);
);
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f55331051%2fgoogle-oauth2-error-redirect-uri-mismatch%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
1 Answer
1
active
oldest
votes
1 Answer
1
active
oldest
votes
active
oldest
votes
active
oldest
votes
Client type other is for installed applications it should not have a redirect uri the way it works is it returns the authorization code directly back where it came from that being
- localhost
- 127.0.0.1
- urn:ietf:wg:oauth:2.0:oob
For some reason your code is sending a https redirect uri which is in correct it should not be doing this. It looks like you are using the code for a web browser application with a native application client.
my app is web application but i do auth all in java, so should i change client type to 'webapp'?
– user1434702
Mar 25 at 7:57
If you are using a web application then yes you should have a browser client. Remember to set the redirect uri up.
– DaImTo
Mar 25 at 7:58
add a comment |
Client type other is for installed applications it should not have a redirect uri the way it works is it returns the authorization code directly back where it came from that being
- localhost
- 127.0.0.1
- urn:ietf:wg:oauth:2.0:oob
For some reason your code is sending a https redirect uri which is in correct it should not be doing this. It looks like you are using the code for a web browser application with a native application client.
my app is web application but i do auth all in java, so should i change client type to 'webapp'?
– user1434702
Mar 25 at 7:57
If you are using a web application then yes you should have a browser client. Remember to set the redirect uri up.
– DaImTo
Mar 25 at 7:58
add a comment |
Client type other is for installed applications it should not have a redirect uri the way it works is it returns the authorization code directly back where it came from that being
- localhost
- 127.0.0.1
- urn:ietf:wg:oauth:2.0:oob
For some reason your code is sending a https redirect uri which is in correct it should not be doing this. It looks like you are using the code for a web browser application with a native application client.
Client type other is for installed applications it should not have a redirect uri the way it works is it returns the authorization code directly back where it came from that being
- localhost
- 127.0.0.1
- urn:ietf:wg:oauth:2.0:oob
For some reason your code is sending a https redirect uri which is in correct it should not be doing this. It looks like you are using the code for a web browser application with a native application client.
answered Mar 25 at 7:46
DaImToDaImTo
48.8k1177261
48.8k1177261
my app is web application but i do auth all in java, so should i change client type to 'webapp'?
– user1434702
Mar 25 at 7:57
If you are using a web application then yes you should have a browser client. Remember to set the redirect uri up.
– DaImTo
Mar 25 at 7:58
add a comment |
my app is web application but i do auth all in java, so should i change client type to 'webapp'?
– user1434702
Mar 25 at 7:57
If you are using a web application then yes you should have a browser client. Remember to set the redirect uri up.
– DaImTo
Mar 25 at 7:58
my app is web application but i do auth all in java, so should i change client type to 'webapp'?
– user1434702
Mar 25 at 7:57
my app is web application but i do auth all in java, so should i change client type to 'webapp'?
– user1434702
Mar 25 at 7:57
If you are using a web application then yes you should have a browser client. Remember to set the redirect uri up.
– DaImTo
Mar 25 at 7:58
If you are using a web application then yes you should have a browser client. Remember to set the redirect uri up.
– DaImTo
Mar 25 at 7:58
add a comment |
Thanks for contributing an answer to Stack Overflow!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f55331051%2fgoogle-oauth2-error-redirect-uri-mismatch%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown