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 ae5cb80 commit 1ca2175
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -51,9 +51,6 @@ export class Authorizer {
if (!config.authorizerURL && !config.authorizerURL.trim())
throw new Error('Invalid authorizerURL');

if (!config.clientID && !config.clientID.trim())
throw new Error('Invalid clientID');

if (config.authorizerURL)
this.config.authorizerURL = trimURL(config.authorizerURL);

Expand Down

0 comments on commit 1ca2175

Please sign in to comment.