We are adding OAuth2 credentials in our kong.yaml
file for Kong version 3.4. Our current configuration is as follows:
consumers:
- id: consumer_id
username: consumer_username
custom_id: consumer_custom_id
oauth2_credentials:
- redirect_uris:
- https://www.example.com/test
consumer: consumer_id
id: credential_id
name: credential_name
client_secret: client_secret
client_id: client_id
However, this configuration does not work in Kong 3.4. We encounter the following error:
“In entry 1 of oauth2_credentials ‘client_id’: uniqueness violation”
How can we resolve this issue in Kong 3.4?
We have already check that no client_id is availabe in cache, as well as there are no duplicate client_ids