Closed proycon closed 3 years ago
I'm first going to give things a try with the existing oauth2 implementation before I implement this.
we're going to need this, it standardizes some things on top of oauth2 that we need
My initial implementation will do a request to the /userinfo
endpoint (mandated by OpenID Connect) on every request. This adds a bit of unnecessary overhead as we could also interpret the id_token
that is provided by the access/
endpoint, but this would entail some extra session keeping (which we do want to avoid as much as possible because we're RESTful).
Things seem to be working now!
We already have OAuth2 support, but we probably need to add an extra layer for OpenID Connect support:
Implementation will start after the necessary infrastructure for CLARIAH has been implemented at knaw-huc (so we have something to test against and can be assured it will be actually used eventually, unlike the earlier OAuth implementation).