-
-
Notifications
You must be signed in to change notification settings - Fork 119
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
Add Oauth frontend and backend improvements #718
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks great so far!
foreach (config('auth.oauth') as $name => $data) { | ||
config()->set("services.$name", array_merge($data['service'], ['redirect' => "/auth/oauth/callback/$name"])); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
In the docker container we should probably cache the config on run, want to do that here or can we make an issue for that?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Not sure what you mean by that?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM <3
Adds oauth buttons to the filament auth.
Improves the backend and makes adding providers easier.
Adds more default providers.
No oauth for the old auth/ old client area auth! So only admins can use oauth for now!
Note: There is no "automatic registration" when using oauth. If you login via oauth but there is no linked user found, you will be redirected to the login page!