Skip to content

Commit bd4f673

Browse files
authored
Adjust Reddit provider for updated subdomains in URLs
Reddit changed their subdomains and the old ones end up returning some 403 here and there.
1 parent b08bca5 commit bd4f673

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

src/OAuth2/Provider/Reddit.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,12 +23,12 @@ public function getBaseUri()
2323

2424
public function getAuthorizeUri()
2525
{
26-
return 'https://ssl.reddit.com/api/v1/authorize';
26+
return 'https://www.reddit.com/api/v1/authorize';
2727
}
2828

2929
public function getRequestTokenUri()
3030
{
31-
return 'https://ssl.reddit.com/api/v1/access_token';
31+
return 'https://www.reddit.com/api/v1/access_token';
3232
}
3333

3434
public function getName()

0 commit comments

Comments
 (0)