cloudflare / nginx-google-oauth

Lua module to add Google OAuth to nginx
https://blog.cloudflare.com/
MIT License
429 stars 100 forks source link

Add multi-domain support #15

Closed danielmotaleite closed 7 years ago

danielmotaleite commented 7 years ago

..and updated the Readme to add the blacklist/whitelist examples

Notice that i'm sending the multi-domain list to the login_hint, but google seems to accept it and even choose the correct domain for the currently logged in user. This looks like a undocumented feature, as it is a hint, should not cause any problem. If you prefer, you can change it to only send the first domain.

danielmotaleite commented 7 years ago

This should fix https://github.com/cloudflare/nginx-google-oauth/issues/6

bobrik commented 7 years ago

Thanks!