Generic OIDC (i.e., Keycloak) implementation for ServiceX authn/authz #970
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Verified to work with UC AF Keycloak.
Admin must specify the OIDC metadata endpoint URI, as well as a client key and secret. This can be done for Globus as well, so there is no forced change to Keycloak.
The admin can set the
allowAllAfterAuth
config flag totrue
, which will auto-accept any user that is able to pass through the authentication. This will give a "single sign on"-like experience.When setup, changes lookups of users to be primarily through email, not through the provider
sub
claim. This means that a different underlying provider can be used without messing up the user account.The JWT refresh tokens for requests now use email as the identity, not the
sub
claim. Therefore all existing tokens need to be regenerated by the users when this version is installed!This does not yet implement any special admin actions, needs further discussion with @ivukotic about how to implement them.