Skip to content

Commit 75bafe6

Browse files
authored
Update PhutilMediaWikiAuthAdapter.php
1 parent e28ce62 commit 75bafe6

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/oauth/PhutilMediaWikiAuthAdapter.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,7 @@ public function shouldAddCSRFTokenToCallbackURI() {
9898
}
9999

100100
protected function getAuthenticateBaseURI() {
101-
return $this->getMediaWikiBaseURI('rest.php/oauth2/authorize');
101+
return $this->getMediaWikiBaseURI('rest.php/oauth2/authorize/');
102102
}
103103

104104
public function setAdapterDomain($domain) {
@@ -107,7 +107,7 @@ public function setAdapterDomain($domain) {
107107
}
108108

109109
protected function getTokenBaseURI() {
110-
return $this->getMediaWikiBaseURI('rest.php/oauth2/access_token');
110+
return $this->getMediaWikiBaseURI('rest.php/oauth2/access_token/');
111111
}
112112

113113
protected function loadOAuthAccountData() {

0 commit comments

Comments
 (0)