Skip to content
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

Allow wildcard usage in whiteList param #471

Closed
nrukavkov opened this issue Apr 19, 2022 · 3 comments
Closed

Allow wildcard usage in whiteList param #471

nrukavkov opened this issue Apr 19, 2022 · 3 comments

Comments

@nrukavkov
Copy link

Hello. How can I allow to be authenticated for all users from one domain and some users for another?

I think it whould be nice to use construction in config file like:

whiteList:

Or allow to use regexp?

@Aspersat
Copy link

Aspersat commented May 9, 2022

if i figured it out correctly the following config should have exactly this effect.. but... im very new to vouch and i could missinterpret what i experienced:;

vouch:
domains:
 - yourdomain.ch
 - onedomain.com
 whiteList:
 - [email protected]
 - [email protected]

@nrukavkov
Copy link
Author

vouch:
domains:
 - yourdomain.ch
 - onedomain.com
 whiteList:
 - .*@onedomain.com
 - [email protected]

@bnfinet
Copy link
Member

bnfinet commented May 18, 2022

dup #251

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants