Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Need for community or namespace like information in tokens #3

Open
msalle opened this issue Dec 20, 2023 · 4 comments
Open

Need for community or namespace like information in tokens #3

msalle opened this issue Dec 20, 2023 · 4 comments

Comments

@msalle
Copy link
Contributor

msalle commented Dec 20, 2023

All 3 profiles need information about the community/VO/etc. inside the token.
For WLCG so far the issuer more or less corresponded with the VO.
Does SciTokens also need a VO/accounting group.

Which features do we need to add:

  • add extra claim to convey namespace or VO? Should the (scoped) values be combined in a JSON substructure ?
  • should we restrict to only 1 VO/accounting group/… per token? Also if we decide to go for a namespace?
@deesto
Copy link

deesto commented Mar 11, 2024

This issue as raised is somewhat dense, and might be easier to parse with added examples of what a namespace might look like, even if completely fabricated at this point. It may also cross realms with the concepts of "audience" and "scope" at some level. But I would be for it: I don't see how it could hurt, and I think it might explicitly make tokens easier to parse per VO or group.

@jbasney
Copy link
Member

jbasney commented Mar 14, 2024

If we need a JSON substructure, we could look at https://www.rfc-editor.org/rfc/rfc9396.html#name-enriched-authorization-deta (OAuth 2.0 Rich Authorization Requests).

@DrDaveD
Copy link

DrDaveD commented Mar 14, 2024

The WLCG common JWT profile has a wlcg.groups claim requested through scopes which allows multiple levels of groupings. That approach works well for the purpose of having "subVOs" as are used for example in the "fermilab" token issuer while still allowing other subgoups within them.

@hestem
Copy link

hestem commented Apr 17, 2024

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants