We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 99cc882 commit 34762f8Copy full SHA for 34762f8
src/Provider.php
@@ -38,7 +38,10 @@ public function setOpenId($openId)
38
*/
39
protected function getAuthUrl($state)
40
{
41
- return $this->buildAuthUrlFromBase('https://open.weixin.qq.com/connect/oauth2/authorize', $state);
+ return $this->buildAuthUrlFromBase($this->getConfig(
42
+ 'auth_base_uri',
43
+ 'https://open.weixin.qq.com/connect/oauth2/authorize'
44
+ ), $state);
45
}
46
47
/**
@@ -124,4 +127,9 @@ public function getAccessToken($code)
124
127
125
128
return $this->parseAccessToken($response->getBody());
126
129
130
+
131
+ public static function additionalConfigKeys()
132
+ {
133
+ return ['auth_base_uri'];
134
+ }
135
0 commit comments