Forum Discussion

shaunrichmond's avatar
5 years ago

Security scheme clientCredentials

I am trying to get authorization working on swagger hub using openapi 3.0.1, I converted a version 2.0 definition and copied the below from there adding to another definition. However, it doesn't seem to work on the definition i've added it too, am i doing something wrong? When i authorize and add the credentials a message is displayed saying authorized, but when i make a request the token isn't included


type: oauth2
tokenUrl: https://api.{companyName}.asia/access/oauth/token
scopes: {}