evolution-events / Artaxerxes

Evolution Events information system
http://www.evolution-events.nl
4 stars 0 forks source link

Single sign on / become an ID provider #52

Open matthijskooijman opened 6 years ago

matthijskooijman commented 6 years ago

For providing single-sign-on for EE, we might want to turn Arta into an ID provider to allow other services (wipi, forum) to authenticate to it.

Data migration is an issue here. If we implement this from the start, importing all forum users (see #48), connecting existing forum posts and accounts is easy, doing this later might become tricky.

matthijskooijman commented 6 years ago

From #5:

If we need single-sign-on for other applications, we can let them authenticate against Arta. We might use openid (which, I think, always requires explicit consent of the user to forward the authentication) or perhaps the CAS protocol (which, I think can work transparently).

CAS is described at https://apereo.github.io/cas/5.2.x/protocol/CAS-Protocol.html and seems fairly simple (authentication redirects to the CAS server, which forwards back to the application, passing a token. The application makes a server-to-server connection to exchange the token for the user data which is used to build the application user session.

https://github.com/jbittel/django-mama-cas has a Django CAS server. It seems there are some client implementations for phpbb.