How is your experience with the OutSystems Community?
13
Views
2
Comments
[JWTCore] I cannot see the input parameter for sending custom claims when using CreateToken
Question
JWTCore
Forge asset by OutSystems Labs

Hello,

I'm using ODC and this Forge component, version 1.0.4, and I can't see the input parameter for sending custom claims. Could you guide me on how to send them?

Thank you very much.


Captura de pantalla 2026-03-27 135935.png
2024-12-02 12-15-17
Aravind EONE

Hey Alex,

Good day!

When using the CreateToken action in ODC, the TokenPayload structure only includes the standard fields — TokenId, Issuer, Subject, Audience, Scope, Expiration, NotBefore, and IssuedAt. 

There is no CustomClaims field available, unlike the O11 version of the JWT component which fully supports it.

Please check the JWT O11 version documentation.
https://www.outsystems.com/forge/component-documentation/1853/jwt-o11/0 

This seems like the CustomClaims parameter was not carried over during the migration from O11 to ODC. This is a blocker.

Could this be added in the next release? It would be helpful.

Thanks.

UserImage.jpg
Gabriel Pereira

The new version (1.0.5) says it now accepts CustomClaims in its release notes, but I don't see that the TokenPayload structure has been modified to add CustomClaims.

Community GuidelinesBe kind and respectful, give credit to the original source of content, and search for duplicates before posting.