Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

OAUTH2 Password flow examples #3098

Closed
TaniaDianne opened this issue Dec 13, 2022 · 3 comments
Closed

OAUTH2 Password flow examples #3098

TaniaDianne opened this issue Dec 13, 2022 · 3 comments
Labels
examples requests for more or better examples in the specification security: auth Authentication including overlap with authorization security

Comments

@TaniaDianne
Copy link

The current published openAPI 3.0 specification does not contain examples of the OAUTh2 password flow. Can they be provided please?
I am getting high level fortify security alert when using this

security:

  • OAuth2: []

securitySchemes:
OAuth2:
type: oauth2
flows:
password:
tokenUrl: 'https://oauth.pp.xxxxxxxxxx.com/oauth/oauth20/token'
scopes: {}

@demored
Copy link

demored commented Dec 14, 2022

OK

@TaniaDianne
Copy link
Author

Any update as to when this can be provided?

@handrews handrews added examples requests for more or better examples in the specification security security: auth Authentication including overlap with authorization labels Jan 27, 2024
@handrews
Copy link
Member

There is now an OAuth2 example on the security page of learn.openapis.org. I'm going to close this issue- if there are more things to do with this sort of example, please open a new issue at the Learn site's repository.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
examples requests for more or better examples in the specification security: auth Authentication including overlap with authorization security
Projects
None yet
Development

No branches or pull requests

3 participants