Use unpadded Base64URL and allow reading other encodings

This commit is contained in:
hzrd149
2026-09-25 11:56:01 -05:00
parent bfade49293
commit d768b53814
+1 -1
View File
@@ -47,7 +47,7 @@ Example authorization token:
## HTTP Authorization Header
Using the `Authorization` HTTP header, the authorization token SHOULD be encoded as Base64 and using the `Nostr` authorization scheme. Servers MAY also support URL-safe Base64 and padded or unpadded encodings.
Using the `Authorization` HTTP header, the authorization token SHOULD be encoded as unpadded Base64URL and use the `Nostr` authorization scheme. Servers and clients MAY also support reading other Base64 encodings for compatibility with legacy implementations.
Example HTTP Authorization Header: