iam icon indicating copy to clipboard operation
iam copied to clipboard

Ability for client to select which attribute to pass to the JWT

Open DonaldChung-HK opened this issue 8 months ago • 0 comments

Hi INDIGO IAM Developers,

I would like to request a feature that does the following:

  • an attribute for the OpenID client that is a regex string to allow the client owner to fine tune which groups to encode to the JWT issued
  • a field in the dashboard for the user to input this string
    • (optional) in addition to that, the ability to type a pure string so that groups will be passed to the JWT issued if the string matched the groups, this is to increase the accessibility of this feature so that users who don't know regex
  • Token will be issued so that it only contains the groups/attributes matched

Rationale for this feature:

  • Users may have too many groups for their account, which the downstream services don't require
  • Users may wish to keep certain attributes/affiliations from the downstream service and so would benefit from knowing that the client only get certain attributes
  • This prevents the token from getting too big, avoiding #873
  • Increase performance as tokens are smaller so that it should complete the workflow faster (especially database write)

Thanks

DonaldChung-HK avatar Apr 30 '25 14:04 DonaldChung-HK