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;








0















My client is use other type
enter image description here



I have no idea why i get redirect_uri_mismatch error. It work on localhost but not on domain.
enter image description here










share|improve this question






























    0















    My client is use other type
    enter image description here



    I have no idea why i get redirect_uri_mismatch error. It work on localhost but not on domain.
    enter image description here










    share|improve this question


























      0












      0








      0








      My client is use other type
      enter image description here



      I have no idea why i get redirect_uri_mismatch error. It work on localhost but not on domain.
      enter image description here










      share|improve this question
















      My client is use other type
      enter image description here



      I have no idea why i get redirect_uri_mismatch error. It work on localhost but not on domain.
      enter image description here







      google-oauth google-oauth2






      share|improve this question















      share|improve this question













      share|improve this question




      share|improve this question








      edited Mar 25 at 4:08







      user1434702

















      asked Mar 25 at 3:52









      user1434702user1434702

      345419




      345419






















          1 Answer
          1






          active

          oldest

          votes


















          0














          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.






          share|improve this answer























          • 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












          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
          );



          );













          draft saved

          draft discarded


















          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









          0














          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.






          share|improve this answer























          • 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
















          0














          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.






          share|improve this answer























          • 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














          0












          0








          0







          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.






          share|improve this answer













          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.







          share|improve this answer












          share|improve this answer



          share|improve this answer










          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


















          • 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




















          draft saved

          draft discarded
















































          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.




          draft saved


          draft discarded














          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





















































          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







          Popular posts from this blog

          Kamusi Yaliyomo Aina za kamusi | Muundo wa kamusi | Faida za kamusi | Dhima ya picha katika kamusi | Marejeo | Tazama pia | Viungo vya nje | UrambazajiKuhusu kamusiGo-SwahiliWiki-KamusiKamusi ya Kiswahili na Kiingerezakuihariri na kuongeza habari

          Swift 4 - func physicsWorld not invoked on collision? The Next CEO of Stack OverflowHow to call Objective-C code from Swift#ifdef replacement in the Swift language@selector() in Swift?#pragma mark in Swift?Swift for loop: for index, element in array?dispatch_after - GCD in Swift?Swift Beta performance: sorting arraysSplit a String into an array in Swift?The use of Swift 3 @objc inference in Swift 4 mode is deprecated?How to optimize UITableViewCell, because my UITableView lags

          Access current req object everywhere in Node.js ExpressWhy are global variables considered bad practice? (node.js)Using req & res across functionsHow do I get the path to the current script with Node.js?What is Node.js' Connect, Express and “middleware”?Node.js w/ express error handling in callbackHow to access the GET parameters after “?” in Express?Modify Node.js req object parametersAccess “app” variable inside of ExpressJS/ConnectJS middleware?Node.js Express app - request objectAngular Http Module considered middleware?Session variables in ExpressJSAdd properties to the req object in expressjs with Typescript