Skip to content

Commit abc3bda

Browse files
committed
Make client id optional
1 parent 1ca2175 commit abc3bda

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ export class Authorizer {
6161
this.config.extraHeaders = {
6262
...(config.extraHeaders || {}),
6363
'x-authorizer-url': this.config.authorizerURL,
64-
'x-authorizer-client-id': this.config.clientID,
64+
'x-authorizer-client-id': this.config.clientID || '',
6565
'Content-Type': 'application/json',
6666
};
6767
this.config.clientID = config.clientID.trim();

0 commit comments

Comments
 (0)