Is it possible to inject data into the jwt dynamic...
# talk-kratos
b
Is it possible to inject data into the jwt dynamically?
b
Could you provide a little bit more context on this question? Which JWT do you mean specifically? What data do you want to inject?
b
I was looking at the JWT section in the session management page, although after re-reading it it can only be done externally?
As in kratos itself can't do it? But if oathkeeper can do it then ideally we'd like to inject some data from the db
It's not strictly necessary, but "nice to have"
b
Could you link the docs you’re viewing? Ory Kratos (session management) does not natively support JWTs (https://www.ory.sh/docs/kratos/session-management/overview#json-web-token-jwt-support).
b
It doesn't natively support it, but it says that oathkeeper can do it, right?