Google OAuth 2 authorization - Error: redirect_uri_mismatch

前端 未结 30 1966
遥遥无期
遥遥无期 2020-11-22 02:58

On the website https://code.google.com/apis/console I have registered my application, set up generated Client ID: and Client Secret to my a

30条回答
  •  悲哀的现实
    2020-11-22 03:17

    Try to do these checks:

    1. Bundle ID in console and in your application. I prefer set Bundle ID of application like this "org.peredovik.${PRODUCT_NAME:rfc1034identifier}"
    2. Check if you added URL types at tab Info just type your Bundle ID in Identifier and URL Schemes, role set to Editor
    3. In console at cloud.google.com "APIs & auth" -> "Consent screen" fill form about your application. "Product name" is required field.

    Enjoy :)

提交回复
热议问题