-
-
Notifications
You must be signed in to change notification settings - Fork 5.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[RFC] Redirection to login should be done in the authProvider #2957
Comments
Has there been any progress on making this change? |
No, as it's a breaking change, it can only occur in a major release. Development for 3.0 has just started on the |
Complete Oauth (social login via Facebook/Instagram?) example will be extremely welcome! |
I also recommend to add some example about authentication servers like Keycloak It's support |
Fixed by #3269 |
I found this issue from Google search. It seems that the implementation has a bug. I reported this in this issue. |
Implemented in #6326, which was released in 3.17.0. |
Problem
If the authProvider delegates login and check to a third-party server (e.g. OAuth), then it should be able to manage the login form URL.
Currently, the login form URL is hardcoded. The only possibility to redirect to an external authentication server is to use window.location in AUTH_LOGOUT, which occurs after a first redirection to '/login' in case of voluntary disconnection. That creates a blinking screen.
extract from the current
auth
saga:Solution
The auth saga should not do the redirection by itself, but use the return object from AUTH_LOGOUT as login URL.
This is a breaking change.
The text was updated successfully, but these errors were encountered: