cloudflare / nginx-google-oauth

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

fix /_oauth requests if already authenticated #22

Closed danielmotaleite closed 7 years ago

danielmotaleite commented 7 years ago

If already authenticated, redirect any /_oauth received instead of forwarding the /_oauth to the nginx or backend

danielmotaleite commented 7 years ago

Sure! :)

bobrik commented 7 years ago

Still need to squash into one commit, LGTM otherwise.