API-Security-Checklist icon indicating copy to clipboard operation
API-Security-Checklist copied to clipboard

Expand on the authentication suggestion

Open petrdvorak opened this issue 2 years ago • 0 comments

Don't use Basic Auth. Use standard authentication instead (e.g., JWT).

This is not very helpful. First of all, "Basic Auth" is "standard" in a way and broadly supported. I would recommend adding a bit more context:

Don't use Basic Auth as the end-user authentication measure. Use OpenID Connect or OAuth 2.0 flow. For server-to-server integrations (M2M), Basic Auth might still work but we recommend extending it with mTLS or VPN.

petrdvorak avatar Feb 12 '23 19:02 petrdvorak