登录测试站:
https://test.descend.id
Docs:
https://docs.descend.id
还是有点AI,我在想怎么才能让界面更好看一点
这个OAuth用的是PKCE所以不需要Client_Secret
并且我已经做好了sdk所以只需要:
<script src="https://sdk.descend.id/"></script>
---
<script>
new DescendID({
clientId: "app_xxxxxxxxxxx",
onSuccess: function(user) {
console.log("登录成功", user);
},
onError: function(err) {
console.error("登录失败", err);
}
})
</script>
就可以接入了
并且scopes包括以下字段:
| 响应字段 | 类型 | 说明 |
|---|---|---|
| id | string | 用户唯一 ID |
| string | 邮箱地址 | |
| username | string | 用户名 |
| display_name | string | 显示名称 |
| avatar_url | string | 头像地址 |
| bio | string | 个人简介 |
| website | string | 个人网站 |
| location | string | 所在地 |
在dash.descend.id可以直接注册账号并创建应用
0
5
快银 VPN,一键连接全球节点,线路稳定、延迟低。支持 Windows、macOS 等多平台,TUN 全局模式覆盖全部应用流量。无需复杂配置,下载即用。
5 条回复
排序