cancel
Showing results for 
Search instead for 
Did you mean: 

Security scheme clientCredentials

Highlighted

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

 

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

1 REPLY 1
Highlighted
Moderator

Re: Security scheme clientCredentials

Hi shaunrichmond,

 

Is your API public? If so, can you provide us with its URL?


Did my reply answer your question? Give Kudos or Accept it as a Solution to help others. ⬇️⬇️⬇️
New Here?
Join us and watch the welcome video: