Hi Scott,
The new built-in JWT support in Verify Access 10 (using the [jwt...] stanza) only supports building claims from credential attributes or fixed strings.
If you were to move to using the "TFIM SSO" junction option you would be able to generate the JWT in the federation add-on STS and have full control over content - including call out to external REST services. Bit pretty sure this is not possible in the new built in version.
One other option would be to have whatever is building the credential at login populate the attributes you need at that point so the built in JWT code can just use them as-is from the credential. Not useful if you are just using built-in authentication though.
Jon.
------------------------------
Jon Harry
Consulting IT Security Specialist
IBM
------------------------------
Original Message:
Sent: Thu September 24, 2020 03:40 PM
From: Scott Reichardt
Subject: Custom claims on junction JWT
Hi,
I'm using the [jwt:<jct-id>] stanza to generate a JWT on a junction. I know I can use credential attributes and static text as claims but I was wondering if there was a way to pull data from a rest endpoint or data from external files and add those as claims. I don't think it's possible out of the box from what I'm gathering but wanted to see if anyone else has done this. Or if there's a way to modify the generated JWT to add those. I'm trying to just use this rather than diving in to any mapping rules.
Thanks,
Scott
------------------------------
Scott Reichardt
IBM Security Verify Access v10
------------------------------