Google drive : redirect_uri_mismatch

后端 未结 4 1539
悲哀的现实
悲哀的现实 2020-12-16 12:19

I followed this basic tutorial, but I get:

Eroare:redirect_uri_mismatch The redirect URI in the request: urn:ietf:wg:oauth:2.0:oob did not match a register
4条回答
  •  天命终不由人
    2020-12-16 12:56

    The URI urn:ietf:wg:oauth:2.0:oob is a special URI used to identify out-of-browser applications, i.e. non-web applications (desktop, mobile, command line, etc.).

    When you create the credentials in the APIs Console, make sure you select "Installed Application" as the application type and the redirect URI will automatically be set as urn:ietf:wg:oauth:2.0:oob and prevent the "redirect_uri_mismatch" when making a request.

提交回复
热议问题