From bd4f673ebc176992033e007548f933c8ee865bb1 Mon Sep 17 00:00:00 2001 From: Adrien Bertrand Date: Tue, 12 Aug 2025 11:29:28 +0200 Subject: [PATCH] Adjust Reddit provider for updated subdomains in URLs Reddit changed their subdomains and the old ones end up returning some 403 here and there. --- src/OAuth2/Provider/Reddit.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/OAuth2/Provider/Reddit.php b/src/OAuth2/Provider/Reddit.php index 831ae196..ce8f19a6 100644 --- a/src/OAuth2/Provider/Reddit.php +++ b/src/OAuth2/Provider/Reddit.php @@ -23,12 +23,12 @@ public function getBaseUri() public function getAuthorizeUri() { - return 'https://ssl.reddit.com/api/v1/authorize'; + return 'https://www.reddit.com/api/v1/authorize'; } public function getRequestTokenUri() { - return 'https://ssl.reddit.com/api/v1/access_token'; + return 'https://www.reddit.com/api/v1/access_token'; } public function getName()