ORY

HTTP Basic Auth

Build and decode HTTP Basic Authorization headers.

Build

Base64 token

YWRtaW46czNjcmV0

Authorization header

Authorization: Basic YWRtaW46czNjcmV0

curl command

curl -u 'admin:s3cret' https://example.com/api

URL with embedded credentials

https://admin:s3cret@example.com/api

Decode
User
admin
Pass
s3cret

Basic auth is only safe over HTTPS — credentials are not encrypted, only base64-encoded.