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

How validate domain input? #1

Open
unlimit opened this issue Jan 18, 2012 · 2 comments
Open

How validate domain input? #1

unlimit opened this issue Jan 18, 2012 · 2 comments

Comments

@unlimit
Copy link

unlimit commented Jan 18, 2012

Hi!

Is it possible validate domain input before start authentication process?
For example if domain is empty or domain has not valid format:
/auth/google_apps?domain=
/auth/google_apps?domain=123

@sishen
Copy link
Owner

sishen commented Jan 18, 2012

You can setup your own form which validate user input. Just set the form action to '/auth/google_apps'.

@unlimit
Copy link
Author

unlimit commented Jan 18, 2012

Even if I will create own form and add validators - /auth/google_apps will be always opened for direct input.
Just enter in browser /auth/google_apps?domain=123 and all validations will be omitted!

Probably better place for validations is inside a Strategy.
Is this possible?

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

No branches or pull requests

2 participants