Omniauth: callback not firing, returns failure with “invalid credentials”

前端 未结 1 1270
臣服心动
臣服心动 2020-12-02 02:57

The facebook authentication in my Rails application, implemented with the Omniauth gem has stopped working recently.

The problem is that the controller

相关标签:
1条回答
  • 2020-12-02 03:24

    Updating gems to their newest versions (omniauth 1.6.1 and omniauth-facebook 4.0.0) with:

    bundle update omniauth
    bundle update omniauth-facebook
    

    solved the issue. I am leaving this for future reference.

    Edit:

    Same thing worked for google authorization:

    bundle update omniauth-google-oauth2
    
    0 讨论(0)
提交回复
热议问题