Skip to content
This repository has been archived by the owner on Mar 18, 2024. It is now read-only.

Commit

Permalink
Update regex for clientId (#1394)
Browse files Browse the repository at this point in the history
  • Loading branch information
rygramer-usds authored Aug 31, 2023
1 parent 0e5f12a commit a095488
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ export default function isValidSfdxAuthUrl(sfdxAuthUrl: string): boolean {
return true;
} else {
let match = sfdxAuthUrl.match(
/force:\/\/(?<clientId>[a-zA-Z]+):(?<clientSecret>[a-zA-Z0-9]*):(?<refreshToken>[a-zA-Z0-9._=]+)@.+/
/force:\/\/(?<clientId>[a-zA-Z0-9._=]+):(?<clientSecret>[a-zA-Z0-9]*):(?<refreshToken>[a-zA-Z0-9._=]+)@.+/
);

if (match !== null) {
Expand Down

0 comments on commit a095488

Please sign in to comment.