Reposting question from <#C012RBW0F18|hydra> here ...
# talk-oathkeeper
h
Reposting question from #hydra here as well Is there any way to inject some arbitrary data, e.g. a projectID or similar into a client or opaque access token so that it can be retrieved with oathkeeper with the oauth2 authenticators and id_token mutator? Using client_credentials
m
I came upon this method, but I think its just for auth code flow: https://www.ory.sh/docs/hydra/faq#how-can-i-store-custom-data- or custom claims in access token? https://github.com/ory/hydra/issues/1974
Definitely not simple stuff. Would you be open to share a few details on your use case, also via DM if you prefer?
h
Dmed