Client credentials data to custom claims

client credentials may not work for this.

I want to use client credentials to communicate between services and internal companies.

I would like the service requesting the token to be able to pass data that would become claims like the data in a SAML flow but without the cert, taking advantage of the OIDC simplicity.

Is there a way to pass data to the token endpoint and that become a custom claim that is part of the JWT?

Is there a way to pass data to the token endpoint and that become a custom claim that is part of the JWT?

No. But you could store custom attributes for your users in Okta and include that information in your tokens.

Because it’s a client credential flow, there isn’t a user context.

If you have the ability to create custom Authorization Servers, you can set it up to include whatever custom claims you want. However, it doesn’t support getting arbitrary data from the incoming request and putting that in a token.