I have imported my OpenAPI Document into SmartDocs, and I am using an “Application” (aka Client Credentials) grant. Here is the specification snippet:
schemes:
- https
- http
securityDefinitions:
OauthSecurity:
type: oauth2
flow: application
tokenUrl: 'https://tmobileh-sb04.apigee.net/v1/CSL/oauth2/token'
security:
- OauthSecurity: []
Everything imports fine (as YAML), and publishes, no issues. Except, there is no dialogue like the Swagger Editor to obtain the Access token.
When I went into the security setting for the model, it was complaining that there was no “Authorization URL” – which is not correct, because this is a different grant type.
Is this a bug? Is there a work around?