Skip to content

ATLAS: OIDC identity synchronization#170

Open
vokac wants to merge 3 commits into
rucio:mainfrom
vokac:add-oidc-identity
Open

ATLAS: OIDC identity synchronization#170
vokac wants to merge 3 commits into
rucio:mainfrom
vokac:add-oidc-identity

Conversation

@vokac
Copy link
Copy Markdown
Contributor

@vokac vokac commented Apr 4, 2026

OIDC account sub synchronization from ATLAS IAM to rucio account identities.

@vokac vokac requested a review from dchristidis as a code owner April 4, 2026 15:52
@vokac vokac changed the title OIDC identity synchronization ATLAS: OIDC identity synchronization Apr 4, 2026
Comment thread atlas/check_voms Outdated
if userid not in dns.get(atype, []):
try:
if not TEST:
client.add_identity(account=nickname, identity=userid, authtype='OIDC', email=email, default=True)
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

OIDC identities in Rucio look like this:

SUB=01234567-89ab-cdef-0123-456789abcdef, ISS=https://atlas-auth.cern.ch/

@vokac
Copy link
Copy Markdown
Contributor Author

vokac commented Apr 6, 2026

This update is just a quick hack into already not well structured code. Tested only add for new OIDC identities, it should also work when they were already synchronized and without SKIP_REMOVE it should also remove identities that no longer exists (but these were not tested).

Actually, there was also an update to X509 identity removal for account that are not active (if not user['active']: continue)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants