Add client_id claim to a JWT payload

I have an application and an API defined, which work, but the JWT payload returned by auth0 does not include client_id. How do I add it?

I followed this article and I can add client_id1 claim but not client_id, which is in a restricted list. So how do I add it? Looks like it’s possible in okta, so I thought it should be possible in auth0 as well.

I have also tried to add client_id to a list of scopes but it did not help.

Hey there @Eduard1 welcome to the community!

In the case of Auth0, the sub claim value is that of the client_id.

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.