How validate domain input? #1

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

Projects

None yet

2 participants

@unlimit

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
Owner

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

@unlimit

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