srako/webman-socialite

v0.1.2 2023-07-18 02:34 UTC

This package is auto-updated.

Last update: 2024-05-11 01:47:21 UTC


README

Security Status

webman-socialite 是一个 OAuth2 社会化认证工具。

该工具现已支持平台有:Facebook,Github,Google,Linkedin,Outlook,QQ,TAPD,支付宝,淘宝,百度,钉钉,微博,微信,抖音,飞书,Lark,豆瓣,企业微信,腾讯云,Line,Gitee,Coding。

安装

composer require srako/webman-socialite

配置

在使用 Socialite 之前,您还需要为应用程序使用的 OAuth 服务添加凭据。 这些凭证应该放在你的 config/plugin/srako/socialite/app.php 配置文件中,并且应该使用密钥 facebook,twitter,linkedin,google,github,gitlab 或 bitbucket, 取决于您的应用程序所需的提供商。 例如:

   'driver' => [
      ...
      'ding-talk' => [
          'client_id' => '',
          'client_secret' => '',
          'redirect' => 'http://your-callback-url',
      ],
      ...
   ]

参照

License

MIT