Auth0 restricting users #2770
-
Hey @billimek 😃 |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
Hi @michalchecinski , it's been a little while since I originally configured this but I believe this may help. In my case, on auth0, I leverage the microsoft "Windows Live' 'social' connection, as seen below (previously used the Google "Google / Gmail" social connection too for my Google Workspaces domain, similar setup): And then in the Auth0 "Auth Pipeline" -> "Rules" section, I have a script that will only allow email addresses belonging to certain domains to pass. You could probably modify the script to only allow certain specific email addresses instead of the entire domain/domains:
|
Beta Was this translation helpful? Give feedback.
Hi @michalchecinski , it's been a little while since I originally configured this but I believe this may help.
In my case, on auth0, I leverage the microsoft "Windows Live' 'social' connection, as seen below (previously used the Google "Google / Gmail" social connection too for my Google Workspaces domain, similar setup):
And then in the Auth0 "Auth Pipeline" -> "Rules" section, I have a script that will only allow email addresses belonging to certain domains to pass. You could probably modify the script to only allow certain specific email addresses instead of the entire domain/domains: