Open AdamDenoon opened 8 years ago
I had the same issue and it was solved by downgrading the omniauth-oauth2
version to 1.3.1
@mariusor You saved my day 💚
Unfortunately downgrading now breaks a number of other omni auth providers. Does anybody know if this is an easy fix, or should I just pass on offering reddit for now?
I fixed this with this helpful advice https://github.com/mysmallidea/omniauth-drip/commit/8f8b38e87f9ef758d639fcf25c2ff2176a852c5b
However, I don't want to create a pull request because I have no understanding of omniauth or how the protocol works.
I installed the gem as directed, and placed this into my config/initializers/omniauth.rb file:
It brings me to the page where I can click "allow" on reddit, and sends the
state
andcode
to my callback, but immediately crashes with the OAuth::Error:Here's a small trace (pertinent to omniauth):