就我的网站,我想要添加一个按钮,点击过后使用linux do 登录,有文档吗,找不到
在connect那边我有client id 和 secret 了,但是不懂如何接入代码里面
就我的网站,我想要添加一个按钮,点击过后使用linux do 登录,有文档吗,找不到
在connect那边我有client id 和 secret 了,但是不懂如何接入代码里面
帮忙顶顶
看上面↑,好像没有PHP的,根据自己的网站架构适配
标准oauth2,社区有不少帖子可以自己翻翻。
wiki 我还没重新更新,这里面的代码请求的用户详情接口还未更新
https://connect.linux.do/oauth2/userinfo 实际上应该是 https://connect.linux.do/api/user
oauth2 认证库。填配置就行。