The problem is that I can’t create a key through the dashboard that allows me to associate a username and password to the key, for my OAuth api.
If, when trying to create a key, I select an api of the “Basic Auth” type, an “Authentication” tab appears that allows me to enter a username/password. But when selecting my OAuth api (Password Grant type) the tab disappears.
I have also tried to check the api to create the key via postman but it is very confusing for me.
Any idea why it’s not possible to create the key this way?
You are correct but the doc itself is a bit old. The UI in the docs is a version 2 of the gateway.
I know the authentication tab only shows for a basic auth type in newer versions, so I will find out more information internally and update this thread.
In the meantime, you can workaround the UI issue by using the Dashboard REST APIs. Creating a custom key with the username ([email protected]) as the custom-key-id should suffice. I have added a snippet below