#How to add custom claims to JWT tokens from an external source

1 messages · Page 1 of 1 (latest)

brittle knoll
#

Hello, i'm thinking about replacing my own rolled authentication service with authentik, one important point is all my authorization system is working through my authentication service, basically I put roles and authorizations inside JWT tokens so that when retrieved by a 3rd service, the service can decode the token and verify authorizations

What i'm trying to do to validate that authentik is suitable for my need is to have authentik add custom claims from an external source (in this case, my authentication service) just before generating the JWT
similar to what this blog post explains in keycloak: https://medium.com/@pavithbuddhima/how-to-add-custom-claims-to-jwt-tokens-from-an-external-source-in-keycloak-52bd1ff596d3

is there any ways to do something like this in authentik ?
I've checked the property mapping section but it doesn't seem like there is a way in this section to do that

thank you for your help

Medium

Keycloak is an open-source Identity and Access Management solution aimed at modern applications and services. Keycloak offers features…

#

How to add custom claims to JWT tokens from an external source

frosty shuttle
#

I need same things, any hope?

brittle knoll
#

Got no answer for this @frosty shuttle assuming it is not possible and moving on