Hi,

If you use Google OAuth2.0 API, how about using login_hint parameter to 
identify the domain of user's email address ?
https://developers.google.com/accounts/docs/OAuth2Login?hl=ja#sendauthrequest

Please note the login_hint isn't a standardized parameter of IETF OAuth2, 
just available with Google OAuth2.0 API.

On Thursday, August 1, 2013 7:05:04 AM UTC-4, ck Tan wrote:
>
> Does anyone know that is it possible to restrict other business domain to 
> login to my web application ? 
>
> I am developing a web application that use OAuth 2.0 as login credential 
> management but I don't want everyone can just login with their private 
> gmail but only the users under my company domain.
>
> For example, employees may login to the web application with their e-mail 
> with mycompany.com as domain. Random users such as Bob who is not a 
> employee of the company can't login with his own gmail or domain mail to 
> the web application.
>
> Thank you so much for spending time to read my question. I appreciate all 
> the help provide. 
>

-- 
You received this message because you are subscribed to the Google Groups 
"OAuth" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to