Re:Authentication and the Have I Been Pwned API
by X-Istence on Friday July 19, 2019 @04:20PM
(#20482101)
Any service that uses API keys are basically handing out bearer tokens. Whoever holds that API key can make requests to the service, it grants you access.
These are bearer tokens, in that the bearer gets granted access by that token alone.
You happen to send it along in a Basic authentication in HTTP instead of as an Authorization header, but it is a bearer token all the same.
No OAuth2 flow required.