Open ridgarou opened 7 months ago
Hello @ridgarou , this functionality is not currently supported
Thanks for the response. I understand that this functionality is not currently available. I would like to know if it would be possible to implement it in the future.
I think this would be very useful for users who need to sign tokens with more complex object structures.
I will leave this issue open for a while so people can upvote the functionality with a :+1: . It is the first time I've seen this requirement in six years, so I don't think it is very common among KrakenD users, but let's see what the community says
Version of KrakenD you are using v2.5.0
Description I have a backend service that, upon login, returns the _accesstoken in a nested object and I would like to sign it with the JWT signing functionality.
Problem The JWT signing functionality only allows you to specify properties to sign in keys_to_sign that are at the root of the main object. In this case, the _accesstoken property is nested within the user object.
Is there a way to sign the _user.accesstoken property with the JWT signing functionality?