ArnauA
ZITADEL•2d ago•
5 replies
Arnau

Append custom claims to PATs on OAuth2 introspection (preuserinfo)

Hello, we have seen the Action V2 for function:preuserinfo is executed when introspecting PATs for Service/Machine users, which is good for us.

However, even if we return the append_claims array with custom claims in the response, those are not reflected as prinicpal attributes in the result of token introspection (we are using Spring Security).

Is it supported natively that we can add custom claims to PATs upon introspection somehow?
Thanks.
Was this page helpful?