Skip to content
This repository has been archived by the owner on Jan 24, 2019. It is now read-only.

disable email validation #91

Merged
merged 1 commit into from
Jun 6, 2015
Merged

disable email validation #91

merged 1 commit into from
Jun 6, 2015

Conversation

jehiah
Copy link
Member

@jehiah jehiah commented Jun 6, 2015

Hi,

I'm using this great tool with an internal OAuth2 provider, in my case I want to authorize access to all authenticated users without any needed validation based on the email address.

Is there currently a way to disable email validation ?

I was thinking to implement pluggable validation system in the same way than the providers, does it sounds good to you ?

@jehiah
Copy link
Member

jehiah commented May 12, 2015

Interesting use case. This is similar to validating a whole google apps domain.

I think a good way to accomplish that would be to allow "*" in the -authenticated-emails-file file which would match every email address. Do you want to submit a PR for that?

@trecloux trecloux changed the title Is it possible to diable email validation ? Is it possible to disable email validation ? May 12, 2015
@trecloux
Copy link
Author

Yes, will do.

@jehiah jehiah changed the title Is it possible to disable email validation ? disable email validation May 19, 2015
@jehiah jehiah mentioned this pull request May 21, 2015
This adds a "*" option to --email-domain to disable email validation, and this renames `--google-apps-domain` to `--email-domain` for clarity across providers
jehiah added a commit that referenced this pull request Jun 6, 2015
@jehiah jehiah merged commit b313e99 into bitly:master Jun 6, 2015
@jehiah jehiah deleted the email_domain_91 branch September 23, 2015 13:57
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Development

Successfully merging this pull request may close these issues.

2 participants