Why is Google Oauth returning `invalid redirect_urI` in my Rails app?

前端 未结 7 1788
一生所求
一生所求 2020-12-04 11:32

I\'m adding Google Oauth2 to a Rails app, but have been unable to get past the early stages.

I\'ve set up an app, and defined client ID and secret.But I\'m getting <

7条回答
  •  感情败类
    2020-12-04 11:52

    Using xip.io you can provide a public url to redirect to like http://your_pow_app.192.168.0.1.xip.io/user/auth/google_oauth2/callback

    Tested and working.

提交回复
热议问题