redirect_uri_mismatch. Login with Google using Ruby on Rails

前端 未结 1 1534
盖世英雄少女心
盖世英雄少女心 2020-12-22 10:22

I\'m trying to add Google Login to my app using omniauth-google-oauth2 gem.

I have created the client Id and secret in console.developers.google.c

1条回答
  •  暖寄归人
    2020-12-22 10:55

    Try to downgrade the gem (could be compatibility problem) :

    gem 'omniauth-oauth2', '~> 1.3.1'
    

    0 讨论(0)
提交回复
热议问题