claudioc / jingo

Node.js based Wiki
MIT License
1.02k stars 184 forks source link

is it possible to add domain restrcition on google Oauth #74

Closed sebglon closed 9 years ago

sebglon commented 9 years ago

For exemple

http://stackoverflow.com/questions/23065104/restrict-login-to-specific-domain-using-node-passport-with-google-auth

claudioc commented 9 years ago

Yes, it is possible. Please take a look at the authorization.validMatches configuration key.