wunderio / wunderhub

A central content repository for the WunderSites.
http://docs.wunderhub.apiary.io/
GNU General Public License v2.0
3 stars 3 forks source link

IS57 Google SSO #61

Closed joesb closed 8 years ago

joesb commented 8 years ago

Implements functionality for #57 for SSO via Wunderkraut Google account

Uses OpenID Connect (the OpenID successor) and makes use of the 'hosted domain' (hd) authentication parameter to limit account logins to a specified Google hosted domain.

Contrib module is a D8 upgrade candidate for the d.o OpenID Connect module, where I've added the hd param support functionality to a fork and created a pull request at sanduhrs/drupal-openid_connect#5 for that functionality.

At the moment, the existing accounts will need to be associated with the wunderkraut.com Google login manually by each person. Staff members will need to login to their WunderHub account in the traditional way and then go to user/{uid}/connected-accounts and manually add their Google account to their Hub account. After that, they'll be able to use the OpenID Connect login option.

Other than that, though, it looks pretty awesome!

joesb commented 8 years ago

Right, I'm gonna merge this and see if I can get it all working on the production site this afternoon.