Client Credentials with default audience

Hi Team,

We’re currently using the client credentials grant to be able to get an access_token to use for the SendGrid Event Webhook. The issue we’re having is they dont accept the Audience param as input.

We did add a default audience in Auth0 but if we leave out the audience we get the following error:

{
    "error": "access_denied",
    "error_description": "Non-global clients are not allowed access to APIv1"
}

Due to us not being able to set this param on the platform, is there a way to work around this?

Thanks,
Febre

Hi @FebrevdMerwe,

Welcome to the Auth0 Community!

Can you please DM me your tenant name and the value you are using for your default audience?

Thanks,
Dan

I did some digging.

It turns out we aren’t able to support this use case at the moment. There isn’t a way to get around the fact that you can’t add an audience to the webhook call, and Auth0 requires the audience for the request to be valid.

This issue is in our backlog, but I don’t have an ETA on when/if it will be resolved.

I think it would be helpful if you created a Feature Request for this. These requests help us track demand.

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