From 7df15f447006fb33fd8b6e83d4846bcacbab940e Mon Sep 17 00:00:00 2001 From: John Reyes Date: Wed, 18 Sep 2024 17:34:59 -0400 Subject: [PATCH 1/2] Fixed bug that doesn't allow for uppercase letters in redirect_uri --- src/Auth/OAuth.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Auth/OAuth.php b/src/Auth/OAuth.php index dca08198..c583ef09 100644 --- a/src/Auth/OAuth.php +++ b/src/Auth/OAuth.php @@ -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(); From f72c61192bd196a63beeaabe2f64c5d29042cbe3 Mon Sep 17 00:00:00 2001 From: Liz Kenyon Date: Tue, 7 Jan 2025 09:26:46 -0600 Subject: [PATCH 2/2] Changelog --- CHANGELOG.md | 1 + 1 file changed, 1 insertion(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index 622635ff..dca5c2ac 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -7,6 +7,7 @@ and adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.html). ## Unreleased - [#393](https://github.com/Shopify/shopify-api-php/pull/393) [Minor] Add support for 2025-01 API version REST resources +- [#367](https://github.com/Shopify/shopify-api-php/pull/367) [Patch] Allow uppercase characters in redirect URI ## v5.8.1 - 2024-11-13 - [#387](https://github.com/Shopify/shopify-api-php/pull/387) [Patch] Fix GraphQL request to properly encode query string