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

Feature/whitelist domain in rules #133

Closed

Conversation

tdorsey
Copy link

@tdorsey tdorsey commented Jun 13, 2020

Continuation of #63

  • rebase to master
  • support the MatchWhitelistOrDomain parameter
  • Combine the original whitelist and domain rule fields into one named ‘whitelist’
    which accepts either an email address or domain

Note: logout endpoint does not work yet. When allowed by a rule whitelist, the AuthHandler intercepts the request before the logout handler
When called internally from ValidateEmail, it was inconvenient to get the tfa.Rule containing
the whitelist without modifying the signature.

Implemented in the server, it's just another standalone validation
This change also avoids the need to have an ambiguous Domain at both the config and rule levels
@ilteoood
Copy link

ilteoood commented Jun 22, 2020

+1 for this.
I really need it!
@thomseddon

@thomseddon thomseddon added enhancement New feature or request under review labels Jun 30, 2020
@thomseddon
Copy link
Owner

Thank you for this, there's been a few stabs at this and I'm hoping to merge #169 this week, please let me know if it's missing anything!

@thomseddon thomseddon closed this Aug 22, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request under review
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants