Closed maciej-szlosarczyk closed 3 years ago
Hi @maciej-szlosarczyk !
Thanks a lot for this pull request :) It's a nice improvement to have better control on the plugin behavior. I'll merge it soon-ish after upgrading some dependencies, and as it's a breaking change, I'll bump the version to 2.0.0 when merging this.
Thanks again !
Amazing, thank you @achedeuzot!
In case a user enters their own code and hits the callback URL, therequest will always raise OAuth2.Error. This is not ideal, as it means a 500 being shown to the user.
What should happen instead, is that we populated the ueberauth_failure assigns and the implementer can decide what to show to the the user.