Imagine we have the following OpenAPI definition:
{
"openapi": "3.0.1",
"info": {
"title": "Example Api",
"version": "v1"
},
"servers": [
{
"url": "https://example.org/",
"description": "Example Server"
}
],
"paths": {
"/users/register": {
"post": {
"tags": [
"Users"
],
"security": [
{
"oauth2-client-flow": []
}
],
"requestBody": {
"content": {
...
}
},
"responses": {
"200": {
"description": "Success"
}
}
}
}
},
"components": {
"schemas": {
...
},
"securitySchemes": {
"oauth2-client-flow": {
"type": "oauth2",
"flows": {
"clientCredentials": {
"tokenUrl": "https://example.org/auth/connect/token",
"scopes": {}
}
}
}
}
},
"security": [
{
"oauth2-client-flow": []
}
]
}
Then when importing this I expect the "Grant Type" in Auth -> OAuth2 for /users/register to be set to "Client Credentials" with the "Acces Token URL" to be filled.
Instead it looks like this:

While I expected this:

Same story goes for all of the other flows. (I think, didn't test it, tho)