omniauth-google-apps
omniauth-google-apps copied to clipboard
How validate domain input?
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
You can setup your own form which validate user input. Just set the form action to '/auth/google_apps'.
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?