Consider oauth2
or openIdConnect
authentication over HTTP basic
auth
#9
Labels
help wanted
Extra attention is needed
Thank you for offering a new example for OpenAPI!
It is widely understood that APIs should avoid HTTP Basic Auth, which is inherently insecure.
I recommend revising the Museum OpenAPI example to use a more secure security scheme.
oauth2
security scheme (withauthorizationCode
flow and with specific read and write scopes -- scope names left to implementors) oropenIdConnect
security schemesecurity
requirement with write or other scope.The text was updated successfully, but these errors were encountered: