Use OAuth 2.0 Token Introspection during log in #141
Loading…
x
Reference in New Issue
Block a user
No description provided.
Delete Branch "token-introspection-login"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Currently, it uses an endpoint similar to OpenID Connect UserInfo but with some differences. The endpoint does not require the "openid" scope for example. There is an ongoing effort to replace the OAuth 2.0 authorization server with a more standard compliant one which would break the endpoint (since it would require the "openid" scope). It is currently not possible to request the "openid" scope to future-proof since Spring would act differently if that scope is present and assume full OpenID Connect. That leads to requiring an id token to have been issued which the current authorization server does not do.
To get around this the implementation is changed to use a standard compliant Token Introspection endpoint to get access to the subject of the access token (which is the only part that's necessary right now). Since the endpoint is standard compliant it will work with any future authorization server.
It may be necessary to run
docker compose up --build
to get the latest version of the Toker containers.How to test
Deployed to https://scipro-token-introspection-login.branch.dsv.su.se
👍
Question: I tried to log in on scipro-dev and I was presented the attached error message?
Try again, should work now.