keyfil/杂项/test.http
liuxiaohua 31aa3a7b70
All checks were successful
Publish to Confluence / confluence (push) Successful in 59s
[2025-02-20] 更新进度表
2025-02-20 18:36:41 +08:00

42 lines
1.1 KiB
HTTP

###
POST http://linkwarden.texous.cn/api/v1/auth/forgot-password
Content-Type: application/json
{
"token": "eyJhbGciOiJkaXIiLCJlbmMiOiJBMjU2R0NNIn0..J40YqKzue9W0DhH5.ujXtU3MRZB3ALYN1LRhTvB4eOYyl41wfO5uw4ca3CpWTxbeB4xgLHivTIYTnsJkXB_3caXgcXT1Iirt4vcMrfo8RDBW9iPEFxjlwJ7ntlToRp1QXnOe2.NtukWgE-EoaoCuJOLGvPQQ",
"password": "liu@Texous.com"
}
###
POST http://linkwarden.texous.cn/api/v1/auth/reset-password
Content-Type: application/json
{
"token": "8e07fe4a315366f5f67c45da8d3acadffbd6e216168e015da41ad8ee5b9a36ba%7C393ac3b0565395f36ec279f453aa460a7e530c504dc69fa3c2c055ce118e0175",
"password": "liu@Texous.com"
}
### authsource
POST http://local.metersphere.com//auth-source/add
Content-Type: application/json
{
"id": "metersphere",
"enable": true,
"createTime": 0,
"updateTime": 100,
"description": "test",
"name": "",
"type": "OIDC",
"configuration": ""
}
### Metersphere callback
GET http://local.metersphere.com//sso/callback/oauth2?code=123&state=metersphere
Content-Type: application/json
{
"userid": "sub",
"username": "preferred_username",
"email": "email"
}