Skip to content

Commit 1aae484

Browse files
rygramer-usdsazlam-abdulsalam
authored andcommittedAug 30, 2023
fix(sfdxauthurl): fix regex for sfdx validation (dxatscale#1394)
fix validate sfdx auth url regex
1 parent 0e5f12a commit 1aae484

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
 

‎packages/core/src/scratchorg/pool/prequisitecheck/IsValidSfdxAuthUrl.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ export default function isValidSfdxAuthUrl(sfdxAuthUrl: string): boolean {
33
return true;
44
} else {
55
let match = sfdxAuthUrl.match(
6-
/force:\/\/(?<clientId>[a-zA-Z]+):(?<clientSecret>[a-zA-Z0-9]*):(?<refreshToken>[a-zA-Z0-9._=]+)@.+/
6+
/force:\/\/(?<clientId>[a-zA-Z0-9._=]+):(?<clientSecret>[a-zA-Z0-9]*):(?<refreshToken>[a-zA-Z0-9._=]+)@.+/
77
);
88

99
if (match !== null) {

0 commit comments

Comments
 (0)
Please sign in to comment.