Comments (4)
我也在找啊,都是基于"https://open.weixin.qq.com/connect"
去生成的链接,但是WEB端登录的链接是https://login.work.weixin.qq.com/wwlogin/sso/login?login_type=LOGIN_TYPE&appid=APPID&redirect_uri=REDIRECT_URI&state=STATE
from socialite.
https://developers.weixin.qq.com/doc/oplatform/Website_App/WeChat_Login/Wechat_Login.html
from socialite.
@overtrue 大佬,新年快乐,过完年能否加上企业微信WEB登录URL生成,目前只能生成手机端登录的URL
from socialite.
wework 中
public function getAuthUrl(): string
{
// 网页授权登录
if (empty($this->agentId)) {
$queries = [
'appid' => $this->getClientId(),
'redirect_uri' => $this->redirectUrl,
'response_type' => 'code',
'scope' => $this->formatScopes($this->scopes, $this->scopeSeparator),
'state' => $this->state,
];
return sprintf('https://open.weixin.qq.com/connect/oauth2/authorize?%s#wechat_redirect', http_build_query($queries));
}
// 第三方网页应用登录(扫码登录)
return $this->getQrConnectUrl();
}
from socialite.
Related Issues (20)
- php版本为什么要7.4有点高吖。。。 HOT 1
- 第三方平台获取公众号授权BUG HOT 2
- GoogleProvider报错 HOT 2
- 抖音 tokenFromCode 方法中参数名拼写错误
- readme为啥不写中文? HOT 2
- Branch 2.x release needed HOT 2
- \Overtrue\Socialite\Providers\WeChat::userFromCode行为应与父类保持一致 HOT 1
- symfony/http-foundation HOT 3
- 可以增加企业微信登录吗 HOT 1
- 请问此插件与 laravel/socialite 的区别是什么?
- phpstan Call to an undefined method withState
- 希望支持企业微信的扫码授权登录 HOT 5
- laravel 版本报错 Undefined constant "Overtrue\Socialite\Contracts\ABNF_ID" HOT 12
- 建议使用`$.autoload.files`定义来优化命名空间常量的自动加载 HOT 1
- 请问转跳授权可以携带参数吗?比如邀请人的信息 HOT 4
- 线上环境会报SSL verify failed HOT 1
- Create tag HOT 1
- To support symfony/psr-http-message-bridge 6.x HOT 1
- 移除 symfony/http-foundation 依赖?
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from socialite.