Welcome to the Kinde community.

A
A
A
M
T

Oauth 2.0 client error: requested audience not whitelisted

I’m getting this error:

Requested audience ‘http://localhost:8082/v1’ has not been whitelisted by the OAuth 2.0 Client.
How do I fix this?

K
1 comment

The error you're encountering indicates that the audience (`aud`) you are requesting has not been registered or whitelisted in your Kinde settings. To fix this, you need to register your API with Kinde and ensure that the audience is correctly set up. Here are the steps to do this: 1. *Register the API in Kinde:* • Go to *Settings > APIs* in your Kinde dashboard. • Select *Add API*. • Enter an API name and the Audience (e.g., `). The audience is a unique identifier for this API. • Select *Save*. 2. *Activate the API for your application:* • In the API details window, select *Applications* in the left menu. • Activate the connection for each application that uses the API. 3. *Update your OAuth 2.0 Client Configuration:* • Ensure that the audience parameter in your OAuth 2.0 client configuration matches the audience you registered in Kinde. For more detailed instructions, you can refer to the .

Add a reply
Sign up and join the conversation on Slack
Join