pow-auth / pow_assent

Multi-provider authentication for your Pow enabled app
https://powauth.com
MIT License
325 stars 50 forks source link

Simplify provider callback handling in AuthorizationController #131

Closed danschultzer closed 4 years ago

danschultzer commented 4 years ago

The auth controller callback action is too complex. I'll move the logic over to PowAssent.Plug instead so the controller only has one plug method call.

This is prompted by both customization with #115 #128 and also a question on slack on how to display "email is in use" message instead of prompting users to select a different e-mail. Currently you're required to replicate all that controller logic if you need to customize it.