php - Force authentication external website with Google Apps Domain -
morning folks,
i need implement way force authentication of people inside google apps domain access website.
to clear, user try site.com. if doesn't have cookie, he's redirected , forced google oauth2 login form. if has one, can visit website.
in addition, aim here restrict login users inside google apps domain (people other google email adresses gmail won't work here).
i hope clear enough, lot in advance guys ;)
if website running on apache webserver, or can front website apache web server operating reverse proxy, mod_auth_openidc
(https://github.com/pingidentity/mod_auth_openidc) can enforce authentication google account , restrict particular google apps domain, see: https://github.com/pingidentity/mod_auth_openidc#openid-connect-sso-with-google-sign-in
Comments
Post a Comment