everything is in the title.
Do you know why omniauth redirects to /auth/failure in case of a failure for every strategy by default ? It would be so much easier to customize errors pages depending on the strategy if it was by default /auth/:provider/failure.
What do you think ?
您可以参考此拉取请求在 OmniauthCallbacksController#failure 中执行以下操作
strategy = params['strategy']
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.