-
If I enable SSO using google, it allows all google accounts to login, I would like to limit valid emails to only those that are part of my Google Workspace Organization. This does not seem to be addressed by django-allauth, which is fair since allauth is Authentication not Authorization and this is a question of which accounts should be Authorized to access the instance. I have searched the docs for limit accounts and limit sso and I have not found anything. Has this been addressed somewhere or is that a feature that has not been implemented? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 13 replies
-
@nwns I would block this at the authentication level to be safe. Also please use discussions for questions, issues are more for FRs or bugs - discussions (QA type) are better for our SEO and threading is much more readable there. |
Beta Was this translation helpful? Give feedback.
@nwns I would block this at the authentication level to be safe.
Instead of using the google provider try using open id and add the hosted domain parameter.
Would much prefer to handle things like this in config and not add code for more checks. There are some many ways to get those wrong.
Also please use discussions for questions, issues are more for FRs or bugs - discussions (QA type) are better for our SEO and threading is much more readable there.