Files
sso/data-seed/oauth_clients.json
T
admin 1e2b117218 refactor(paths): 拆 source/ 包层,顶层与 ipass/ipass 对齐
- source/rust   → rust/
- source/conf   → conf/
- source/www    → www/
- source/data-seed → data-seed/
- source/data   → data/
- scripts/ 保留(语义不对应 ipass deploy/)
- /build/ 加入 .gitignore(本机 nginx 源码树)
- README.md 目录树同步 + build 路径 /tmp/sso-build → ./build
- Cargo.toml path 依赖 '../../deps/ipass' → '../deps/ipass'
- CLAUDE.md 同步路径示例

cargo check 通过(52s);release build 通过(1m26s),产物 libsso_gateway.dylib
2026-09-21 15:44:55 +08:00

97 lines
2.1 KiB
JSON
Raw Permalink Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
[
{
"client_id": "grafana",
"client_secret": "cs_grafana_demo_secret_0000000000000000",
"name": "Grafana(演示机密客户端)",
"redirect_uris": [
"https://grafana.yourdomain.com/login/generic_oauth"
],
"grant_types": [
"authorization_code",
"refresh_token"
],
"scopes": [
"openid",
"profile",
"email"
],
"confidential": true,
"created_at": 1768000000
},
{
"client_id": "spa-demo",
"client_secret": "",
"name": "单页应用(演示公开客户端,走 PKCE)",
"redirect_uris": [
"https://app.yourdomain.com/callback"
],
"grant_types": [
"authorization_code",
"refresh_token"
],
"scopes": [
"openid",
"profile",
"email"
],
"confidential": false,
"created_at": 1768000000
},
{
"client_id": "machine",
"client_secret": "cs_machine_demo_secret_0000000000000000",
"name": "机器对机器(演示 client_credentials / password)",
"redirect_uris": [],
"grant_types": [
"authorization_code",
"refresh_token",
"client_credentials",
"password"
],
"scopes": [
"openid",
"profile",
"email"
],
"confidential": true,
"created_at": 1768000000
},
{
"client_id": "demo-system",
"client_secret": "cs_f5efeab3c50a6332b462561034c55401",
"name": "demo-system 简单业务系统(机密客户端,MaxKey 风格表单传参)",
"redirect_uris": [
"http://127.0.0.1:18096/oauth2/callback"
],
"grant_types": [
"authorization_code",
"refresh_token"
],
"scopes": [
"openid",
"profile",
"email"
],
"confidential": true,
"created_at": 1789000000
},
{
"client_id": "demo-spa",
"client_secret": "",
"name": "demo-system 公开客户端(PKCE / S256)",
"redirect_uris": [
"http://127.0.0.1:18096/oauth2/callback"
],
"grant_types": [
"authorization_code",
"refresh_token"
],
"scopes": [
"openid",
"profile",
"email"
],
"confidential": false,
"created_at": 1789000000
}
]