Hi, is there a way to get info about the session that was used to issue an id_token (oidc)? The token contains a "sid" key which I can't assign to any session. By the way, the "iss"-key contains the
host although a custom domain is used as authority.
f
fast-lunch-54279
12/15/2022, 1:39 PM
Hey Marc, sorry for the late reply.
There's no out of the box support for this as of now.
A solution would be to write a custom consent node that gets information on the identity via the Identities Admin API - then you have flexibility to add this info to the ID token. See https://www.ory.sh/docs/hydra/guides/consent