Skip to content

Commit 730d539

Browse files
author
Kadi Kraman
committed
Capitalize B in Basic auth header
1 parent 470efb2 commit 730d539

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -256,7 +256,7 @@ export const revoke = async (
256256
'Content-Type': 'application/x-www-form-urlencoded',
257257
};
258258
if (includeBasicAuthorization) {
259-
headers.Authorization = `basic ${base64.encode(`${clientId}:${clientSecret}`)}`;
259+
headers.Authorization = `Basic ${base64.encode(`${clientId}:${clientSecret}`)}`;
260260
}
261261
/**
262262
Identity Server insists on client_id being passed in the body,

0 commit comments

Comments
 (0)