Why am I receiving “This authorization code has been used” after the first 2 users?
问题 I'm using Omniauth-Facebook to create and authenticate User. It works for the two first users, but fails for the third one. I still can authenticate; it's the CREATE process which fails. This appears to be a common issue without a solution. error.log: facebook) Callback phase initiated. (facebook) Authentication failure! invalid_credentials: OAuth2::Error, : {"error":{"message":"This authorization code has been used.","type":"OAuthException","code":100}} onmiauth.rb: Rails.application.config