This message was deleted.
# general
m
This message was deleted.
f
as I can see Session has IDTokenClaims and there you have the Extra
did you try to use it?
I started from fosite.DefaultSession
-> Claims -> Extra
b
I don't understand. I have a JWT token (created on third side) which contains user_id / organisation_id custom claims. I have map them on session claims (so in the end they get into the resulting access token that fosite generates.)
as if here https://github.com/ory/fosite/blob/45a6785cc54fcbd9195b0de4b821bb5fed6a41be/integration/authorize_jwt_bearer_test.go#L93 the logic I need in the test, but the resulting token does not contain PrivateClaims. Is this a bug?
@high-optician-2097, sorry for the mention, but could you please explain what this test is testing and how to achieve the desired behavior (mapping private claims into session claims)?