Skip to content

Commit

Permalink
Make client id optional
Browse files Browse the repository at this point in the history
  • Loading branch information
lakhansamani committed Apr 2, 2024
1 parent 1ca2175 commit abc3bda
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ export class Authorizer {
this.config.extraHeaders = {
...(config.extraHeaders || {}),
'x-authorizer-url': this.config.authorizerURL,
'x-authorizer-client-id': this.config.clientID,
'x-authorizer-client-id': this.config.clientID || '',
'Content-Type': 'application/json',
};
this.config.clientID = config.clientID.trim();
Expand Down

0 comments on commit abc3bda

Please sign in to comment.