-
Notifications
You must be signed in to change notification settings - Fork 89
Open
Description
There are a number of common approaches for authenticating/authorizing requests to an API. The OpenAPI securitySchemes and security requirements are intended to document the authn/authz requirements of operations in an API description. I think we should develop practical guidance for how the common authn/authz mechanisms should be or can be described in OpenAPI documents.
Some of the common approaches that should be described are:
- Authentication through log in on a web page, possibly with two-factor auth, that generates a cookie that is used as proof of authentication on subsequent requests.
- OAuth2 authentication that produces a JWT or other token as proof of auth
- OIDC authentication that produces a JWT
- Bearer token authentication where the token is obtained from some known source
Metadata
Metadata
Assignees
Labels
No labels