You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'd like to customize a JWT to include information about what entity roles the user is assigned. This isn't currently supported out-of-the-box.
Solution
If I could call the existing APIs from within the lambda, however, I could add that information myself. I could also add any type of information currently in the system.
Alternatives/workarounds
None that I've been able to find in the documentation
Additional context
I suppose I could do this manually, but the process of deserializing the JSON and setting up the API call with an API token seems daunting. It would be great to be passed an "api" object that had methods corresponding to the public api and returning objects (i.e. a wrapper object containing references to the endpoint methods internally, skipping authentication).
Please give us a thumbs up or thumbs down as a reaction to help us prioritize this feature. Feel free to comment if you have a particular need or comment on how this feature should work.
The text was updated successfully, but these errors were encountered:
Allow lambdas to call internal APIs
Problem
I'd like to customize a JWT to include information about what entity roles the user is assigned. This isn't currently supported out-of-the-box.
Solution
If I could call the existing APIs from within the lambda, however, I could add that information myself. I could also add any type of information currently in the system.
Alternatives/workarounds
None that I've been able to find in the documentation
Additional context
I suppose I could do this manually, but the process of deserializing the JSON and setting up the API call with an API token seems daunting. It would be great to be passed an "api" object that had methods corresponding to the public api and returning objects (i.e. a wrapper object containing references to the endpoint methods internally, skipping authentication).
Community guidelines
All issues filed in this repository must abide by the FusionAuth community guidelines.
How to vote
Please give us a thumbs up or thumbs down as a reaction to help us prioritize this feature. Feel free to comment if you have a particular need or comment on how this feature should work.
The text was updated successfully, but these errors were encountered: