-
-
Notifications
You must be signed in to change notification settings - Fork 619
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
[BUG] Google oauth doesn't allow access to new users #1116
Comments
Hey @Leen15 this is actually expected. if we set google/facebook/github as Trusted providers are meant to be used only on custom OAuth to allow only some users, this is most commonly used to restrict a private site to employees only |
Thank you @goenning , I understand your pov. |
Are you using Google Workspaces? You should then use custom OAuth and just enter your details there. The system OAuth is for public access. |
Yes we are, but we cannot find any example to set up it with a custom OAuth in Fider (https://fider.io/docs/configuring-oauth). Usually we only have to set up ClientID and the Secret for a google login. |
If somebody else needs to do the same, this is the configuration to set Google as a custom OAuth Provider:
You should now be able to access using google. |
Fider Cloud or Self Hosted
Self Hosted Fider, version 0.21.1
Describe the bug
We are testing Fider in private mode enabling the google oauth provider.
We expect that any user can access the service using the oauth provider as specified in the description of the privacy mode:
A private site prevents unauthenticated users from viewing or interacting with its content. When enabled, only already registered users, invited users and users from trusted OAuth providers will have access to this site.
Instead, only oauth users that match with the email of manually added users can login.
I don't know if it's the reason, but I found a PR ( #1068 ) that should allow oauth providers to be set as "trusted" BUT it seems that system providers are not set as "Trusted" by default and there is no way to change them (it's hardcoded):
fider/app/services/oauth/oauth.go
Line 83 in 44958bf
Any help on this?
Thanks
The text was updated successfully, but these errors were encountered: