Getting Error: redirect_uri_mismatch The redirect URI in the request: http://localhost:8080/oauth2callback did not match a registered redirect URI

前端 未结 5 627
走了就别回头了
走了就别回头了 2020-12-01 21:34

I\'m getting this error while trying to run my application...

The redirect URI in the request: http://localhost:8080/oauth2callback did not match a registere         


        
5条回答
  •  自闭症患者
    2020-12-01 22:12

    In main.py functions main class add (decorator.callback_path, decorator.callback_handler()), and remove

    - url: /oauth2callback 
        script: oauth2client/appengine.py 
    

    from app.yaml.

    PS: You might get DownloadError if you have some proxy-configuration/webcontent-filter. If you disable these configurations or deploy it on Google Server, it will work just fine.

提交回复
热议问题