function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
Nisha Pandey 26Nisha Pandey 26 

is it possible to add additional custom attributes in Salesforce Via JWT?

My requirement to send additional attributes via JWT Flow in salesforce for that I have made an connectedapp plugin class

(https://developer.salesforce.com/docs/atlas.en-us.apexcode.meta/apexcode/apex_class_Auth_ConnectedAppPlugin.htm)

And added to connected app. Although i am able to get access token but without additional attribute.

So i am confused that is it only works for SAML case
(https://salesforce.stackexchange.com/questions/175572/is-it-possible-to-add-additional-custom-attributes-in-salesforce-as-identity-pro)
Not JWT however as per my idea if we are using connected app in both cases so ideally it should work. But anybody can help me out for the same.