Problem with Oauth Password Grant Type

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

POST /api/keys/[email protected] HTTP/1.1
Host: localhost:7080
Authorization: 0c4471a636134ca76f9ab5c16a5f7d8a
Content-Type: application/json

{
	"access_rights": {},
	"alias": "[email protected]",
	"allowance": 0,
	"apply_policies": [
		"{{oauth_policy_id}}"
	],
	"apply_policy_id": "",
        "basic_auth_data": {
		"password": "1234567",
		"hash_type": "bcrypt"
	},
	"expires": 0,
	"per": 0,
	"quota_max": 0,
	"rate": 0
}