Skip to content

Commit

Permalink
Fixed bug that doesn't allow for uppercase letters in redirect_uri
Browse files Browse the repository at this point in the history
  • Loading branch information
jaykayrey committed Sep 18, 2024
1 parent 18d1d3f commit 7df15f4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Auth/OAuth.php
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ public static function begin(
throw new InvalidArgumentException("Invalid shop domain: $shop");
}

$redirectPath = trim(strtolower($redirectPath));
$redirectPath = trim($redirectPath);
$redirectPath = ($redirectPath[0] == '/') ? $redirectPath : '/' . $redirectPath;

$state = Uuid::uuid4()->toString();
Expand Down

0 comments on commit 7df15f4

Please sign in to comment.