We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Question #1984 brought up an issue with the jwt placeholder.
jwt
Given the following JWT:
{ "authorization": { "permissions": [ { "scopes": [ "device.read" ], "resource_set_id": "123456" }, { "scopes": [ "device.read", "device.write" ], "resource_set_id": "987654" } ] } }
And given the following placeholder:
{{ jwt:authorization/permissions/scopes }}
It would be expected that this resolves to:
issuer:device.read issuer:device.write
Due to the nature of "flattening" arrays. This however does not work, it resolves to no subjects at all..
The JWT placeholder implementation currently seems to only "flatten" arrays at top level.
It should work "recursively", in arbitrary nested JsonObject / JsonArray constellations.
The text was updated successfully, but these errors were encountered:
Successfully merging a pull request may close this issue.
Question #1984 brought up an issue with the
jwt
placeholder.Given the following JWT:
And given the following placeholder:
It would be expected that this resolves to:
Due to the nature of "flattening" arrays.
This however does not work, it resolves to no subjects at all..
The JWT placeholder implementation currently seems to only "flatten" arrays at top level.
It should work "recursively", in arbitrary nested JsonObject / JsonArray constellations.
The text was updated successfully, but these errors were encountered: