mirror of
https://github.com/lobehub/lobehub.git
synced 2026-03-28 13:39:28 +07:00
* 👷 build: add docker compose to setup local services for development * 👷 build: setup dotenv-expand for all the npm scripts * 🐛 fix: remove useless comments * 📚 docs: add server-side database setup guide with i18n support - Add comprehensive server-side database setup documentation - Include step-by-step Docker service configuration - Add Chinese localization for better developer experience - Cover environment setup, database migration, and verification steps
1702 lines
49 KiB
JSON
1702 lines
49 KiB
JSON
{
|
|
"adapters": [
|
|
{
|
|
"owner": "built-in",
|
|
"name": "api-adapter-built-in",
|
|
"createdTime": "2025-08-11T08:43:25Z",
|
|
"table": "casbin_api_rule",
|
|
"useSameDb": true,
|
|
"type": "",
|
|
"databaseType": "",
|
|
"host": "",
|
|
"port": 0,
|
|
"user": "",
|
|
"password": "",
|
|
"database": ""
|
|
},
|
|
{
|
|
"owner": "built-in",
|
|
"name": "user-adapter-built-in",
|
|
"createdTime": "2025-08-11T08:43:25Z",
|
|
"table": "casbin_user_rule",
|
|
"useSameDb": true,
|
|
"type": "",
|
|
"databaseType": "",
|
|
"host": "",
|
|
"port": 0,
|
|
"user": "",
|
|
"password": "",
|
|
"database": ""
|
|
}
|
|
],
|
|
"applications": [
|
|
{
|
|
"owner": "admin",
|
|
"name": "lobechat",
|
|
"createdTime": "2025-08-11T17:06:30+08:00",
|
|
"displayName": "LobeChat",
|
|
"logo": "https://lobehub.com/icon-192x192.png",
|
|
"homepageUrl": "https://lobehub.com",
|
|
"description": "",
|
|
"organization": "lobechat",
|
|
"cert": "cert-built-in",
|
|
"defaultGroup": "",
|
|
"headerHtml": "",
|
|
"enablePassword": true,
|
|
"enableSignUp": false,
|
|
"disableSignin": false,
|
|
"enableSigninSession": false,
|
|
"enableAutoSignin": false,
|
|
"enableCodeSignin": false,
|
|
"enableSamlCompress": false,
|
|
"enableSamlC14n10": false,
|
|
"enableSamlPostBinding": false,
|
|
"useEmailAsSamlNameId": false,
|
|
"enableWebAuthn": false,
|
|
"enableLinkWithEmail": false,
|
|
"orgChoiceMode": "",
|
|
"samlReplyUrl": "",
|
|
"providers": [
|
|
{
|
|
"owner": "",
|
|
"name": "provider_captcha_default",
|
|
"canSignUp": false,
|
|
"canSignIn": false,
|
|
"canUnlink": false,
|
|
"countryCodes": null,
|
|
"prompted": false,
|
|
"signupGroup": "",
|
|
"rule": "",
|
|
"provider": null
|
|
}
|
|
],
|
|
"signinMethods": [
|
|
{
|
|
"name": "Password",
|
|
"displayName": "Password",
|
|
"rule": "All"
|
|
},
|
|
{
|
|
"name": "Verification code",
|
|
"displayName": "Verification code",
|
|
"rule": "All"
|
|
},
|
|
{
|
|
"name": "WebAuthn",
|
|
"displayName": "WebAuthn",
|
|
"rule": "None"
|
|
},
|
|
{
|
|
"name": "Face ID",
|
|
"displayName": "Face ID",
|
|
"rule": "None"
|
|
}
|
|
],
|
|
"signupItems": [
|
|
{
|
|
"name": "ID",
|
|
"visible": false,
|
|
"required": true,
|
|
"prompted": false,
|
|
"type": "",
|
|
"customCss": "",
|
|
"label": "",
|
|
"placeholder": "",
|
|
"options": null,
|
|
"regex": "",
|
|
"rule": "Random"
|
|
},
|
|
{
|
|
"name": "Username",
|
|
"visible": true,
|
|
"required": true,
|
|
"prompted": false,
|
|
"type": "",
|
|
"customCss": "",
|
|
"label": "",
|
|
"placeholder": "",
|
|
"options": null,
|
|
"regex": "",
|
|
"rule": "None"
|
|
},
|
|
{
|
|
"name": "Display name",
|
|
"visible": true,
|
|
"required": true,
|
|
"prompted": false,
|
|
"type": "",
|
|
"customCss": "",
|
|
"label": "",
|
|
"placeholder": "",
|
|
"options": null,
|
|
"regex": "",
|
|
"rule": "None"
|
|
},
|
|
{
|
|
"name": "Password",
|
|
"visible": true,
|
|
"required": true,
|
|
"prompted": false,
|
|
"type": "",
|
|
"customCss": "",
|
|
"label": "",
|
|
"placeholder": "",
|
|
"options": null,
|
|
"regex": "",
|
|
"rule": "None"
|
|
},
|
|
{
|
|
"name": "Confirm password",
|
|
"visible": true,
|
|
"required": true,
|
|
"prompted": false,
|
|
"type": "",
|
|
"customCss": "",
|
|
"label": "",
|
|
"placeholder": "",
|
|
"options": null,
|
|
"regex": "",
|
|
"rule": "None"
|
|
},
|
|
{
|
|
"name": "Email",
|
|
"visible": true,
|
|
"required": true,
|
|
"prompted": false,
|
|
"type": "",
|
|
"customCss": "",
|
|
"label": "",
|
|
"placeholder": "",
|
|
"options": null,
|
|
"regex": "",
|
|
"rule": "Normal"
|
|
},
|
|
{
|
|
"name": "Phone",
|
|
"visible": true,
|
|
"required": true,
|
|
"prompted": false,
|
|
"type": "",
|
|
"customCss": "",
|
|
"label": "",
|
|
"placeholder": "",
|
|
"options": null,
|
|
"regex": "",
|
|
"rule": "None"
|
|
},
|
|
{
|
|
"name": "Agreement",
|
|
"visible": true,
|
|
"required": true,
|
|
"prompted": false,
|
|
"type": "",
|
|
"customCss": "",
|
|
"label": "",
|
|
"placeholder": "",
|
|
"options": null,
|
|
"regex": "",
|
|
"rule": "None"
|
|
},
|
|
{
|
|
"name": "Signup button",
|
|
"visible": true,
|
|
"required": true,
|
|
"prompted": false,
|
|
"type": "",
|
|
"customCss": "",
|
|
"label": "",
|
|
"placeholder": "",
|
|
"options": null,
|
|
"regex": "",
|
|
"rule": "None"
|
|
},
|
|
{
|
|
"name": "Providers",
|
|
"visible": true,
|
|
"required": true,
|
|
"prompted": false,
|
|
"type": "",
|
|
"customCss": ".provider-img {\n width: 30px;\n margin: 5px;\n }\n .provider-big-img {\n margin-bottom: 10px;\n }\n ",
|
|
"label": "",
|
|
"placeholder": "",
|
|
"options": null,
|
|
"regex": "",
|
|
"rule": "small"
|
|
}
|
|
],
|
|
"signinItems": [
|
|
{
|
|
"name": "Back button",
|
|
"visible": true,
|
|
"label": "",
|
|
"customCss": ".back-button {\n top: 65px;\n left: 15px;\n position: absolute;\n}\n.back-inner-button{}",
|
|
"placeholder": "",
|
|
"rule": "None",
|
|
"isCustom": false
|
|
},
|
|
{
|
|
"name": "Languages",
|
|
"visible": true,
|
|
"label": "",
|
|
"customCss": ".login-languages {\n top: 55px;\n right: 5px;\n position: absolute;\n}",
|
|
"placeholder": "",
|
|
"rule": "None",
|
|
"isCustom": false
|
|
},
|
|
{
|
|
"name": "Logo",
|
|
"visible": true,
|
|
"label": "",
|
|
"customCss": ".login-logo-box {}",
|
|
"placeholder": "",
|
|
"rule": "None",
|
|
"isCustom": false
|
|
},
|
|
{
|
|
"name": "Signin methods",
|
|
"visible": true,
|
|
"label": "",
|
|
"customCss": ".signin-methods {}",
|
|
"placeholder": "",
|
|
"rule": "None",
|
|
"isCustom": false
|
|
},
|
|
{
|
|
"name": "Username",
|
|
"visible": true,
|
|
"label": "",
|
|
"customCss": ".login-username {}\n.login-username-input{}",
|
|
"placeholder": "",
|
|
"rule": "None",
|
|
"isCustom": false
|
|
},
|
|
{
|
|
"name": "Password",
|
|
"visible": true,
|
|
"label": "",
|
|
"customCss": ".login-password {}\n.login-password-input{}",
|
|
"placeholder": "",
|
|
"rule": "None",
|
|
"isCustom": false
|
|
},
|
|
{
|
|
"name": "Agreement",
|
|
"visible": true,
|
|
"label": "",
|
|
"customCss": ".login-agreement {}",
|
|
"placeholder": "",
|
|
"rule": "None",
|
|
"isCustom": false
|
|
},
|
|
{
|
|
"name": "Forgot password?",
|
|
"visible": true,
|
|
"label": "",
|
|
"customCss": ".login-forget-password {\n display: inline-flex;\n justify-content: space-between;\n width: 320px;\n margin-bottom: 25px;\n}",
|
|
"placeholder": "",
|
|
"rule": "None",
|
|
"isCustom": false
|
|
},
|
|
{
|
|
"name": "Login button",
|
|
"visible": true,
|
|
"label": "",
|
|
"customCss": ".login-button-box {\n margin-bottom: 5px;\n}\n.login-button {\n width: 100%;\n}",
|
|
"placeholder": "",
|
|
"rule": "None",
|
|
"isCustom": false
|
|
},
|
|
{
|
|
"name": "Signup link",
|
|
"visible": true,
|
|
"label": "",
|
|
"customCss": ".login-signup-link {\n margin-bottom: 24px;\n display: flex;\n justify-content: end;\n}",
|
|
"placeholder": "",
|
|
"rule": "None",
|
|
"isCustom": false
|
|
},
|
|
{
|
|
"name": "Providers",
|
|
"visible": true,
|
|
"label": "",
|
|
"customCss": ".provider-img {\n width: 30px;\n margin: 5px;\n}\n.provider-big-img {\n margin-bottom: 10px;\n}",
|
|
"placeholder": "",
|
|
"rule": "small",
|
|
"isCustom": false
|
|
}
|
|
],
|
|
"grantTypes": [
|
|
"authorization_code",
|
|
"password",
|
|
"client_credentials",
|
|
"token",
|
|
"id_token",
|
|
"refresh_token"
|
|
],
|
|
"organizationObj": null,
|
|
"certPublicKey": "",
|
|
"tags": [],
|
|
"samlAttributes": null,
|
|
"isShared": false,
|
|
"ipRestriction": "",
|
|
"clientId": "a387a4892ee19b1a2249",
|
|
"clientSecret": "dbf205949d704de81b0b5b3603174e23fbecc354",
|
|
"redirectUris": [
|
|
"http://localhost:3210/api/auth/callback/casdoor",
|
|
"https://localhost:3210/api/auth/callback/casdoor",
|
|
"http://example.com/api/auth/callback/casdoor",
|
|
"https://example.com/api/auth/callback/casdoor"
|
|
],
|
|
"forcedRedirectOrigin": "",
|
|
"tokenFormat": "JWT",
|
|
"tokenSigningMethod": "",
|
|
"tokenFields": [],
|
|
"expireInHours": 168,
|
|
"refreshExpireInHours": 168,
|
|
"signupUrl": "",
|
|
"signinUrl": "",
|
|
"forgetUrl": "",
|
|
"affiliationUrl": "",
|
|
"ipWhitelist": "",
|
|
"termsOfUse": "",
|
|
"signupHtml": "",
|
|
"signinHtml": "",
|
|
"themeData": null,
|
|
"footerHtml": "",
|
|
"formCss": "\u003cstyle\u003e\n .login-panel {\n padding: 40px 70px 0 70px;\n border-radius: 10px;\n background-color: #ffffff;\n box-shadow: rgba(17, 12, 46, 0.15) 0px 48px 100px 0px;\n }\n .panel-logo {\n width: 64px;\n }\n .login-logo-box {\n margin-top: 20px;\n }\n\n #parent-area\n \u003e main\n \u003e div\n \u003e div.login-content\n \u003e div.login-panel\n \u003e div.login-form\n \u003e div\n \u003e div\n \u003e button {\n box-shadow: none !important;\n border-radius: 10px !important;\n transition-property: all;\n transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);\n transition-duration: 150ms;\n border: 1px solid #eee !important;\n }\n\n @media (max-width: 640px) {\n .login-panel {\n padding: 40px 0 0 0;\n box-shadow: none;\n }\n }\n\u003c/style\u003e",
|
|
"formCssMobile": "\u003cstyle\u003e\n .login-panel {\n padding: 40px 70px 0 70px;\n border-radius: 10px;\n background-color: #ffffff;\n box-shadow: rgba(17, 12, 46, 0.15) 0px 48px 100px 0px;\n }\n .panel-logo {\n width: 64px;\n }\n .login-logo-box {\n margin-top: 20px;\n }\n\n #parent-area\n \u003e main\n \u003e div\n \u003e div.login-content\n \u003e div.login-panel\n \u003e div.login-form\n \u003e div\n \u003e div\n \u003e button {\n box-shadow: none !important;\n border-radius: 10px !important;\n transition-property: all;\n transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);\n transition-duration: 150ms;\n border: 1px solid #eee !important;\n }\n\n @media (max-width: 640px) {\n .login-panel {\n padding: 40px 0 0 0;\n box-shadow: none;\n }\n }\n\u003c/style\u003e",
|
|
"formOffset": 2,
|
|
"formSideHtml": "",
|
|
"formBackgroundUrl": "",
|
|
"formBackgroundUrlMobile": "",
|
|
"failedSigninLimit": 5,
|
|
"failedSigninFrozenTime": 15
|
|
},
|
|
{
|
|
"owner": "admin",
|
|
"name": "app-built-in",
|
|
"createdTime": "2025-08-11T08:43:23Z",
|
|
"displayName": "Casdoor",
|
|
"logo": "https://cdn.casbin.org/img/casdoor-logo_1185x256.png",
|
|
"homepageUrl": "https://casdoor.org",
|
|
"description": "",
|
|
"organization": "built-in",
|
|
"cert": "cert-built-in",
|
|
"defaultGroup": "",
|
|
"headerHtml": "",
|
|
"enablePassword": true,
|
|
"enableSignUp": true,
|
|
"disableSignin": false,
|
|
"enableSigninSession": false,
|
|
"enableAutoSignin": false,
|
|
"enableCodeSignin": false,
|
|
"enableSamlCompress": false,
|
|
"enableSamlC14n10": false,
|
|
"enableSamlPostBinding": false,
|
|
"useEmailAsSamlNameId": false,
|
|
"enableWebAuthn": false,
|
|
"enableLinkWithEmail": false,
|
|
"orgChoiceMode": "",
|
|
"samlReplyUrl": "",
|
|
"providers": [
|
|
{
|
|
"owner": "",
|
|
"name": "provider_captcha_default",
|
|
"canSignUp": false,
|
|
"canSignIn": false,
|
|
"canUnlink": false,
|
|
"countryCodes": null,
|
|
"prompted": false,
|
|
"signupGroup": "",
|
|
"rule": "None",
|
|
"provider": null
|
|
}
|
|
],
|
|
"signinMethods": [
|
|
{
|
|
"name": "Password",
|
|
"displayName": "Password",
|
|
"rule": "All"
|
|
},
|
|
{
|
|
"name": "Verification code",
|
|
"displayName": "Verification code",
|
|
"rule": "All"
|
|
},
|
|
{
|
|
"name": "WebAuthn",
|
|
"displayName": "WebAuthn",
|
|
"rule": "None"
|
|
},
|
|
{
|
|
"name": "Face ID",
|
|
"displayName": "Face ID",
|
|
"rule": "None"
|
|
}
|
|
],
|
|
"signupItems": [
|
|
{
|
|
"name": "ID",
|
|
"visible": false,
|
|
"required": true,
|
|
"prompted": false,
|
|
"type": "",
|
|
"customCss": "",
|
|
"label": "",
|
|
"placeholder": "",
|
|
"options": null,
|
|
"regex": "",
|
|
"rule": "Random"
|
|
},
|
|
{
|
|
"name": "Username",
|
|
"visible": true,
|
|
"required": true,
|
|
"prompted": false,
|
|
"type": "",
|
|
"customCss": "",
|
|
"label": "",
|
|
"placeholder": "",
|
|
"options": null,
|
|
"regex": "",
|
|
"rule": "None"
|
|
},
|
|
{
|
|
"name": "Display name",
|
|
"visible": true,
|
|
"required": true,
|
|
"prompted": false,
|
|
"type": "",
|
|
"customCss": "",
|
|
"label": "",
|
|
"placeholder": "",
|
|
"options": null,
|
|
"regex": "",
|
|
"rule": "None"
|
|
},
|
|
{
|
|
"name": "Password",
|
|
"visible": true,
|
|
"required": true,
|
|
"prompted": false,
|
|
"type": "",
|
|
"customCss": "",
|
|
"label": "",
|
|
"placeholder": "",
|
|
"options": null,
|
|
"regex": "",
|
|
"rule": "None"
|
|
},
|
|
{
|
|
"name": "Confirm password",
|
|
"visible": true,
|
|
"required": true,
|
|
"prompted": false,
|
|
"type": "",
|
|
"customCss": "",
|
|
"label": "",
|
|
"placeholder": "",
|
|
"options": null,
|
|
"regex": "",
|
|
"rule": "None"
|
|
},
|
|
{
|
|
"name": "Email",
|
|
"visible": true,
|
|
"required": true,
|
|
"prompted": false,
|
|
"type": "",
|
|
"customCss": "",
|
|
"label": "",
|
|
"placeholder": "",
|
|
"options": null,
|
|
"regex": "",
|
|
"rule": "Normal"
|
|
},
|
|
{
|
|
"name": "Phone",
|
|
"visible": true,
|
|
"required": true,
|
|
"prompted": false,
|
|
"type": "",
|
|
"customCss": "",
|
|
"label": "",
|
|
"placeholder": "",
|
|
"options": null,
|
|
"regex": "",
|
|
"rule": "None"
|
|
},
|
|
{
|
|
"name": "Agreement",
|
|
"visible": true,
|
|
"required": true,
|
|
"prompted": false,
|
|
"type": "",
|
|
"customCss": "",
|
|
"label": "",
|
|
"placeholder": "",
|
|
"options": null,
|
|
"regex": "",
|
|
"rule": "None"
|
|
}
|
|
],
|
|
"signinItems": null,
|
|
"grantTypes": null,
|
|
"organizationObj": null,
|
|
"certPublicKey": "",
|
|
"tags": [],
|
|
"samlAttributes": null,
|
|
"isShared": false,
|
|
"ipRestriction": "",
|
|
"clientId": "45f13635c08f7bdb97e4",
|
|
"clientSecret": "fc76d8be000bc358c83712f6598754e054969994",
|
|
"redirectUris": [],
|
|
"forcedRedirectOrigin": "",
|
|
"tokenFormat": "JWT",
|
|
"tokenSigningMethod": "",
|
|
"tokenFields": [],
|
|
"expireInHours": 168,
|
|
"refreshExpireInHours": 0,
|
|
"signupUrl": "",
|
|
"signinUrl": "",
|
|
"forgetUrl": "",
|
|
"affiliationUrl": "",
|
|
"ipWhitelist": "",
|
|
"termsOfUse": "",
|
|
"signupHtml": "",
|
|
"signinHtml": "",
|
|
"themeData": null,
|
|
"footerHtml": "",
|
|
"formCss": "",
|
|
"formCssMobile": "",
|
|
"formOffset": 2,
|
|
"formSideHtml": "",
|
|
"formBackgroundUrl": "",
|
|
"formBackgroundUrlMobile": "",
|
|
"failedSigninLimit": 0,
|
|
"failedSigninFrozenTime": 0
|
|
}
|
|
],
|
|
"certs": [
|
|
{
|
|
"owner": "admin",
|
|
"name": "cert-built-in",
|
|
"createdTime": "2025-08-11T08:43:23Z",
|
|
"displayName": "Built-in Cert",
|
|
"scope": "JWT",
|
|
"type": "x509",
|
|
"cryptoAlgorithm": "RS256",
|
|
"bitSize": 4096,
|
|
"expireInYears": 20,
|
|
"certificate": "-----BEGIN CERTIFICATE-----\nMIIE3TCCAsWgAwIBAgIDAeJAMA0GCSqGSIb3DQEBCwUAMCgxDjAMBgNVBAoTBWFk\nbWluMRYwFAYDVQQDEw1jZXJ0LWJ1aWx0LWluMB4XDTI1MDgxMTA4NDMyNVoXDTQ1\nMDgxMTA4NDMyNVowKDEOMAwGA1UEChMFYWRtaW4xFjAUBgNVBAMTDWNlcnQtYnVp\nbHQtaW4wggIiMA0GCSqGSIb3DQEBAQUAA4ICDwAwggIKAoICAQDqvw3MYJxa1sKq\ndyU+GGDkIqGzcvkkLn/EsrZJrKaWaS7yPqjtx5VFIqn6VOUTvA0CNbaqWZT+qwM3\nhjmcZ+nRzHMA62ZnMZvm7GR/njWUoSaHMJf3AT66f8WJxTsuwiYF/vbG7Z7ZUyyV\nChFA+BEwjaVghL4JFe7lMqxoBhaajYVs9RZabIw5Od7Rr4WoQYh5cGUBqgW9tn4F\nMFH7poMT85LiM0hKIceQqLVWAbX0Cgr9JX2qRH5QDac+iIVnt836oRO+ojJIhK+y\nf65yyPy+TM7X6PNmU/UaRGxE6K9uqbXTJDi4zNoU1tgK2cv4eIo0epxF4QcyheZs\nlZnIckp/Z6cJLu2DEoMMSHVDu46AXYSuNRYkawKGlvNq3KkUXRl2+GEPvUQVNRSI\nHCioHDF45SXrlrcVC27ADOo8zjRzeGXSsJ+ncVlY8nuXhPL/ZTbh9ivLRqXG6ZJX\nD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----\n"
|
|
}
|
|
],
|
|
"enforcers": [
|
|
{
|
|
"owner": "built-in",
|
|
"name": "api-enforcer-built-in",
|
|
"createdTime": "2025-08-11T08:43:25Z",
|
|
"updatedTime": "2025-08-11 08:43:25",
|
|
"displayName": "API Enforcer",
|
|
"description": "",
|
|
"model": "built-in/api-model-built-in",
|
|
"adapter": "built-in/api-adapter-built-in",
|
|
"modelCfg": null
|
|
},
|
|
{
|
|
"owner": "built-in",
|
|
"name": "user-enforcer-built-in",
|
|
"createdTime": "2025-08-11T08:43:25Z",
|
|
"updatedTime": "2025-08-11 08:43:25",
|
|
"displayName": "User Enforcer",
|
|
"description": "",
|
|
"model": "built-in/user-model-built-in",
|
|
"adapter": "built-in/user-adapter-built-in",
|
|
"modelCfg": null
|
|
}
|
|
],
|
|
"groups": [],
|
|
"invitations": [],
|
|
"ldaps": [
|
|
{
|
|
"id": "ldap-built-in",
|
|
"owner": "built-in",
|
|
"createdTime": "2025-08-11T08:43:25Z",
|
|
"serverName": "BuildIn LDAP Server",
|
|
"host": "example.com",
|
|
"port": 389,
|
|
"enableSsl": false,
|
|
"allowSelfSignedCert": false,
|
|
"username": "cn=buildin,dc=example,dc=com",
|
|
"password": "123",
|
|
"baseDn": "ou=BuildIn,dc=example,dc=com",
|
|
"filter": "",
|
|
"filterFields": null,
|
|
"defaultGroup": "",
|
|
"passwordType": "",
|
|
"autoSync": 0,
|
|
"lastSync": ""
|
|
}
|
|
],
|
|
"models": [
|
|
{
|
|
"owner": "built-in",
|
|
"name": "api-model-built-in",
|
|
"createdTime": "2025-08-11T08:43:25Z",
|
|
"displayName": "API Model",
|
|
"description": "",
|
|
"modelText": "[request_definition]\nr = subOwner, subName, method, urlPath, objOwner, objName\n\n[policy_definition]\np = subOwner, subName, method, urlPath, objOwner, objName\n\n[role_definition]\ng = _, _\n\n[policy_effect]\ne = some(where (p.eft == allow))\n\n[matchers]\nm = (r.subOwner == p.subOwner || p.subOwner == \"*\") \u0026\u0026 \\\n (r.subName == p.subName || p.subName == \"*\" || r.subName != \"anonymous\" \u0026\u0026 p.subName == \"!anonymous\") \u0026\u0026 \\\n (r.method == p.method || p.method == \"*\") \u0026\u0026 \\\n (r.urlPath == p.urlPath || p.urlPath == \"*\") \u0026\u0026 \\\n (r.objOwner == p.objOwner || p.objOwner == \"*\") \u0026\u0026 \\\n (r.objName == p.objName || p.objName == \"*\") || \\\n (r.subOwner == r.objOwner \u0026\u0026 r.subName == r.objName)"
|
|
},
|
|
{
|
|
"owner": "built-in",
|
|
"name": "user-model-built-in",
|
|
"createdTime": "2025-08-11T08:43:25Z",
|
|
"displayName": "Built-in Model",
|
|
"description": "",
|
|
"modelText": "[request_definition]\nr = sub, obj, act\n\n[policy_definition]\np = sub, obj, act\n\n[role_definition]\ng = _, _\n\n[policy_effect]\ne = some(where (p.eft == allow))\n\n[matchers]\nm = g(r.sub, p.sub) \u0026\u0026 r.obj == p.obj \u0026\u0026 r.act == p.act"
|
|
}
|
|
],
|
|
"organizations": [
|
|
{
|
|
"owner": "admin",
|
|
"name": "lobechat",
|
|
"createdTime": "2025-08-11T16:57:04+08:00",
|
|
"displayName": "LobeChat",
|
|
"websiteUrl": "https://lobehub.com",
|
|
"logo": "https://lobehub.com/icon-192x192.png",
|
|
"logoDark": "",
|
|
"favicon": "https://lobehub.com/favicon.ico",
|
|
"hasPrivilegeConsent": false,
|
|
"passwordType": "plain",
|
|
"passwordSalt": "",
|
|
"passwordOptions": ["AtLeast6"],
|
|
"passwordObfuscatorType": "Plain",
|
|
"passwordObfuscatorKey": "",
|
|
"passwordExpireDays": 0,
|
|
"countryCodes": ["US"],
|
|
"defaultAvatar": "https://lobehub.com/favicon.ico",
|
|
"defaultApplication": "",
|
|
"userTypes": null,
|
|
"tags": [],
|
|
"languages": [
|
|
"en",
|
|
"es",
|
|
"fr",
|
|
"de",
|
|
"zh",
|
|
"id",
|
|
"ja",
|
|
"ko",
|
|
"ru",
|
|
"vi",
|
|
"pt",
|
|
"it",
|
|
"ms",
|
|
"tr",
|
|
"ar",
|
|
"he",
|
|
"nl",
|
|
"pl",
|
|
"fi",
|
|
"sv",
|
|
"uk",
|
|
"kk",
|
|
"fa",
|
|
"cs",
|
|
"sk"
|
|
],
|
|
"themeData": null,
|
|
"masterPassword": "",
|
|
"defaultPassword": "",
|
|
"masterVerificationCode": "",
|
|
"ipWhitelist": "",
|
|
"initScore": 0,
|
|
"enableSoftDeletion": false,
|
|
"isProfilePublic": true,
|
|
"useEmailAsUsername": false,
|
|
"enableTour": true,
|
|
"disableSignin": false,
|
|
"ipRestriction": "",
|
|
"navItems": null,
|
|
"widgetItems": null,
|
|
"mfaItems": null,
|
|
"mfaRememberInHours": 12,
|
|
"accountItems": [
|
|
{
|
|
"name": "Organization",
|
|
"visible": true,
|
|
"viewRule": "Public",
|
|
"modifyRule": "Admin",
|
|
"regex": ""
|
|
},
|
|
{
|
|
"name": "ID",
|
|
"visible": true,
|
|
"viewRule": "Public",
|
|
"modifyRule": "Immutable",
|
|
"regex": ""
|
|
},
|
|
{
|
|
"name": "Name",
|
|
"visible": true,
|
|
"viewRule": "Public",
|
|
"modifyRule": "Admin",
|
|
"regex": ""
|
|
},
|
|
{
|
|
"name": "Display name",
|
|
"visible": true,
|
|
"viewRule": "Public",
|
|
"modifyRule": "Self",
|
|
"regex": ""
|
|
},
|
|
{
|
|
"name": "Avatar",
|
|
"visible": true,
|
|
"viewRule": "Public",
|
|
"modifyRule": "Self",
|
|
"regex": ""
|
|
},
|
|
{
|
|
"name": "User type",
|
|
"visible": true,
|
|
"viewRule": "Public",
|
|
"modifyRule": "Admin",
|
|
"regex": ""
|
|
},
|
|
{
|
|
"name": "Password",
|
|
"visible": true,
|
|
"viewRule": "Self",
|
|
"modifyRule": "Self",
|
|
"regex": ""
|
|
},
|
|
{
|
|
"name": "Email",
|
|
"visible": true,
|
|
"viewRule": "Public",
|
|
"modifyRule": "Self",
|
|
"regex": ""
|
|
},
|
|
{
|
|
"name": "Phone",
|
|
"visible": true,
|
|
"viewRule": "Public",
|
|
"modifyRule": "Self",
|
|
"regex": ""
|
|
},
|
|
{
|
|
"name": "Country code",
|
|
"visible": true,
|
|
"viewRule": "Public",
|
|
"modifyRule": "Self",
|
|
"regex": ""
|
|
},
|
|
{
|
|
"name": "Country/Region",
|
|
"visible": true,
|
|
"viewRule": "Public",
|
|
"modifyRule": "Self",
|
|
"regex": ""
|
|
},
|
|
{
|
|
"name": "Location",
|
|
"visible": true,
|
|
"viewRule": "Public",
|
|
"modifyRule": "Self",
|
|
"regex": ""
|
|
},
|
|
{
|
|
"name": "Address",
|
|
"visible": true,
|
|
"viewRule": "Public",
|
|
"modifyRule": "Self",
|
|
"regex": ""
|
|
},
|
|
{
|
|
"name": "Affiliation",
|
|
"visible": true,
|
|
"viewRule": "Public",
|
|
"modifyRule": "Self",
|
|
"regex": ""
|
|
},
|
|
{
|
|
"name": "Title",
|
|
"visible": true,
|
|
"viewRule": "Public",
|
|
"modifyRule": "Self",
|
|
"regex": ""
|
|
},
|
|
{
|
|
"name": "ID card type",
|
|
"visible": true,
|
|
"viewRule": "Public",
|
|
"modifyRule": "Self",
|
|
"regex": ""
|
|
},
|
|
{
|
|
"name": "ID card",
|
|
"visible": true,
|
|
"viewRule": "Public",
|
|
"modifyRule": "Self",
|
|
"regex": ""
|
|
},
|
|
{
|
|
"name": "ID card info",
|
|
"visible": true,
|
|
"viewRule": "Public",
|
|
"modifyRule": "Self",
|
|
"regex": ""
|
|
},
|
|
{
|
|
"name": "Homepage",
|
|
"visible": true,
|
|
"viewRule": "Public",
|
|
"modifyRule": "Self",
|
|
"regex": ""
|
|
},
|
|
{
|
|
"name": "Bio",
|
|
"visible": true,
|
|
"viewRule": "Public",
|
|
"modifyRule": "Self",
|
|
"regex": ""
|
|
},
|
|
{
|
|
"name": "Tag",
|
|
"visible": true,
|
|
"viewRule": "Public",
|
|
"modifyRule": "Admin",
|
|
"regex": ""
|
|
},
|
|
{
|
|
"name": "Language",
|
|
"visible": true,
|
|
"viewRule": "Public",
|
|
"modifyRule": "Admin",
|
|
"regex": ""
|
|
},
|
|
{
|
|
"name": "Gender",
|
|
"visible": true,
|
|
"viewRule": "Public",
|
|
"modifyRule": "Admin",
|
|
"regex": ""
|
|
},
|
|
{
|
|
"name": "Birthday",
|
|
"visible": true,
|
|
"viewRule": "Public",
|
|
"modifyRule": "Admin",
|
|
"regex": ""
|
|
},
|
|
{
|
|
"name": "Education",
|
|
"visible": true,
|
|
"viewRule": "Public",
|
|
"modifyRule": "Admin",
|
|
"regex": ""
|
|
},
|
|
{
|
|
"name": "Score",
|
|
"visible": true,
|
|
"viewRule": "Public",
|
|
"modifyRule": "Admin",
|
|
"regex": ""
|
|
},
|
|
{
|
|
"name": "Karma",
|
|
"visible": true,
|
|
"viewRule": "Public",
|
|
"modifyRule": "Admin",
|
|
"regex": ""
|
|
},
|
|
{
|
|
"name": "Ranking",
|
|
"visible": true,
|
|
"viewRule": "Public",
|
|
"modifyRule": "Admin",
|
|
"regex": ""
|
|
},
|
|
{
|
|
"name": "Signup application",
|
|
"visible": true,
|
|
"viewRule": "Public",
|
|
"modifyRule": "Admin",
|
|
"regex": ""
|
|
},
|
|
{
|
|
"name": "API key",
|
|
"visible": false,
|
|
"viewRule": "",
|
|
"modifyRule": "Self",
|
|
"regex": ""
|
|
},
|
|
{
|
|
"name": "Groups",
|
|
"visible": true,
|
|
"viewRule": "Public",
|
|
"modifyRule": "Admin",
|
|
"regex": ""
|
|
},
|
|
{
|
|
"name": "Roles",
|
|
"visible": true,
|
|
"viewRule": "Public",
|
|
"modifyRule": "Immutable",
|
|
"regex": ""
|
|
},
|
|
{
|
|
"name": "Permissions",
|
|
"visible": true,
|
|
"viewRule": "Public",
|
|
"modifyRule": "Immutable",
|
|
"regex": ""
|
|
},
|
|
{
|
|
"name": "3rd-party logins",
|
|
"visible": true,
|
|
"viewRule": "Self",
|
|
"modifyRule": "Self",
|
|
"regex": ""
|
|
},
|
|
{
|
|
"name": "Properties",
|
|
"visible": false,
|
|
"viewRule": "Admin",
|
|
"modifyRule": "Admin",
|
|
"regex": ""
|
|
},
|
|
{
|
|
"name": "Is online",
|
|
"visible": true,
|
|
"viewRule": "Admin",
|
|
"modifyRule": "Admin",
|
|
"regex": ""
|
|
},
|
|
{
|
|
"name": "Is admin",
|
|
"visible": true,
|
|
"viewRule": "Admin",
|
|
"modifyRule": "Admin",
|
|
"regex": ""
|
|
},
|
|
{
|
|
"name": "Is forbidden",
|
|
"visible": true,
|
|
"viewRule": "Admin",
|
|
"modifyRule": "Admin",
|
|
"regex": ""
|
|
},
|
|
{
|
|
"name": "Is deleted",
|
|
"visible": true,
|
|
"viewRule": "Admin",
|
|
"modifyRule": "Admin",
|
|
"regex": ""
|
|
},
|
|
{
|
|
"name": "Multi-factor authentication",
|
|
"visible": true,
|
|
"viewRule": "Self",
|
|
"modifyRule": "Self",
|
|
"regex": ""
|
|
},
|
|
{
|
|
"name": "WebAuthn credentials",
|
|
"visible": true,
|
|
"viewRule": "Self",
|
|
"modifyRule": "Self",
|
|
"regex": ""
|
|
},
|
|
{
|
|
"name": "Managed accounts",
|
|
"visible": true,
|
|
"viewRule": "Self",
|
|
"modifyRule": "Self",
|
|
"regex": ""
|
|
},
|
|
{
|
|
"name": "MFA accounts",
|
|
"visible": true,
|
|
"viewRule": "Self",
|
|
"modifyRule": "Self",
|
|
"regex": ""
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"owner": "admin",
|
|
"name": "built-in",
|
|
"createdTime": "2025-08-11T08:43:22Z",
|
|
"displayName": "Built-in Organization",
|
|
"websiteUrl": "https://example.com",
|
|
"logo": "",
|
|
"logoDark": "",
|
|
"favicon": "https://cdn.casbin.org/img/casbin/favicon.ico",
|
|
"hasPrivilegeConsent": false,
|
|
"passwordType": "plain",
|
|
"passwordSalt": "",
|
|
"passwordOptions": ["AtLeast6"],
|
|
"passwordObfuscatorType": "",
|
|
"passwordObfuscatorKey": "",
|
|
"passwordExpireDays": 0,
|
|
"countryCodes": ["US", "ES", "FR", "DE", "GB", "CN", "JP", "KR", "VN", "ID", "SG", "IN"],
|
|
"defaultAvatar": "https://cdn.casbin.org/img/casbin.svg",
|
|
"defaultApplication": "",
|
|
"userTypes": [],
|
|
"tags": [],
|
|
"languages": ["en", "zh", "es", "fr", "de", "id", "ja", "ko", "ru", "vi", "pt"],
|
|
"themeData": null,
|
|
"masterPassword": "",
|
|
"defaultPassword": "",
|
|
"masterVerificationCode": "",
|
|
"ipWhitelist": "",
|
|
"initScore": 2000,
|
|
"enableSoftDeletion": false,
|
|
"isProfilePublic": false,
|
|
"useEmailAsUsername": false,
|
|
"enableTour": true,
|
|
"disableSignin": false,
|
|
"ipRestriction": "",
|
|
"navItems": null,
|
|
"widgetItems": null,
|
|
"mfaItems": null,
|
|
"mfaRememberInHours": 0,
|
|
"accountItems": [
|
|
{
|
|
"name": "Organization",
|
|
"visible": true,
|
|
"viewRule": "Public",
|
|
"modifyRule": "Admin",
|
|
"regex": ""
|
|
},
|
|
{
|
|
"name": "ID",
|
|
"visible": true,
|
|
"viewRule": "Public",
|
|
"modifyRule": "Immutable",
|
|
"regex": ""
|
|
},
|
|
{
|
|
"name": "Name",
|
|
"visible": true,
|
|
"viewRule": "Public",
|
|
"modifyRule": "Admin",
|
|
"regex": ""
|
|
},
|
|
{
|
|
"name": "Display name",
|
|
"visible": true,
|
|
"viewRule": "Public",
|
|
"modifyRule": "Self",
|
|
"regex": ""
|
|
},
|
|
{
|
|
"name": "Avatar",
|
|
"visible": true,
|
|
"viewRule": "Public",
|
|
"modifyRule": "Self",
|
|
"regex": ""
|
|
},
|
|
{
|
|
"name": "User type",
|
|
"visible": true,
|
|
"viewRule": "Public",
|
|
"modifyRule": "Admin",
|
|
"regex": ""
|
|
},
|
|
{
|
|
"name": "Password",
|
|
"visible": true,
|
|
"viewRule": "Self",
|
|
"modifyRule": "Self",
|
|
"regex": ""
|
|
},
|
|
{
|
|
"name": "Email",
|
|
"visible": true,
|
|
"viewRule": "Public",
|
|
"modifyRule": "Self",
|
|
"regex": ""
|
|
},
|
|
{
|
|
"name": "Phone",
|
|
"visible": true,
|
|
"viewRule": "Public",
|
|
"modifyRule": "Self",
|
|
"regex": ""
|
|
},
|
|
{
|
|
"name": "Country code",
|
|
"visible": true,
|
|
"viewRule": "Public",
|
|
"modifyRule": "Admin",
|
|
"regex": ""
|
|
},
|
|
{
|
|
"name": "Country/Region",
|
|
"visible": true,
|
|
"viewRule": "Public",
|
|
"modifyRule": "Self",
|
|
"regex": ""
|
|
},
|
|
{
|
|
"name": "Location",
|
|
"visible": true,
|
|
"viewRule": "Public",
|
|
"modifyRule": "Self",
|
|
"regex": ""
|
|
},
|
|
{
|
|
"name": "Affiliation",
|
|
"visible": true,
|
|
"viewRule": "Public",
|
|
"modifyRule": "Self",
|
|
"regex": ""
|
|
},
|
|
{
|
|
"name": "Title",
|
|
"visible": true,
|
|
"viewRule": "Public",
|
|
"modifyRule": "Self",
|
|
"regex": ""
|
|
},
|
|
{
|
|
"name": "Homepage",
|
|
"visible": true,
|
|
"viewRule": "Public",
|
|
"modifyRule": "Self",
|
|
"regex": ""
|
|
},
|
|
{
|
|
"name": "Bio",
|
|
"visible": true,
|
|
"viewRule": "Public",
|
|
"modifyRule": "Self",
|
|
"regex": ""
|
|
},
|
|
{
|
|
"name": "Tag",
|
|
"visible": true,
|
|
"viewRule": "Public",
|
|
"modifyRule": "Admin",
|
|
"regex": ""
|
|
},
|
|
{
|
|
"name": "Signup application",
|
|
"visible": true,
|
|
"viewRule": "Public",
|
|
"modifyRule": "Admin",
|
|
"regex": ""
|
|
},
|
|
{
|
|
"name": "Roles",
|
|
"visible": true,
|
|
"viewRule": "Public",
|
|
"modifyRule": "Immutable",
|
|
"regex": ""
|
|
},
|
|
{
|
|
"name": "Permissions",
|
|
"visible": true,
|
|
"viewRule": "Public",
|
|
"modifyRule": "Immutable",
|
|
"regex": ""
|
|
},
|
|
{
|
|
"name": "Groups",
|
|
"visible": true,
|
|
"viewRule": "Public",
|
|
"modifyRule": "Admin",
|
|
"regex": ""
|
|
},
|
|
{
|
|
"name": "3rd-party logins",
|
|
"visible": true,
|
|
"viewRule": "Self",
|
|
"modifyRule": "Self",
|
|
"regex": ""
|
|
},
|
|
{
|
|
"name": "Properties",
|
|
"visible": true,
|
|
"viewRule": "Admin",
|
|
"modifyRule": "Admin",
|
|
"regex": ""
|
|
},
|
|
{
|
|
"name": "Is admin",
|
|
"visible": true,
|
|
"viewRule": "Admin",
|
|
"modifyRule": "Admin",
|
|
"regex": ""
|
|
},
|
|
{
|
|
"name": "Is forbidden",
|
|
"visible": true,
|
|
"viewRule": "Admin",
|
|
"modifyRule": "Admin",
|
|
"regex": ""
|
|
},
|
|
{
|
|
"name": "Is deleted",
|
|
"visible": true,
|
|
"viewRule": "Admin",
|
|
"modifyRule": "Admin",
|
|
"regex": ""
|
|
},
|
|
{
|
|
"name": "Multi-factor authentication",
|
|
"visible": true,
|
|
"viewRule": "Self",
|
|
"modifyRule": "Self",
|
|
"regex": ""
|
|
},
|
|
{
|
|
"name": "WebAuthn credentials",
|
|
"visible": true,
|
|
"viewRule": "Self",
|
|
"modifyRule": "Self",
|
|
"regex": ""
|
|
},
|
|
{
|
|
"name": "Managed accounts",
|
|
"visible": true,
|
|
"viewRule": "Self",
|
|
"modifyRule": "Self",
|
|
"regex": ""
|
|
},
|
|
{
|
|
"name": "MFA accounts",
|
|
"visible": true,
|
|
"viewRule": "Self",
|
|
"modifyRule": "Self",
|
|
"regex": ""
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"payments": [],
|
|
"permissions": [
|
|
{
|
|
"owner": "built-in",
|
|
"name": "permission-built-in",
|
|
"createdTime": "2025-08-11T08:43:22Z",
|
|
"displayName": "Built-in Permission",
|
|
"description": "Built-in Permission",
|
|
"users": ["built-in/*"],
|
|
"groups": [],
|
|
"roles": [],
|
|
"domains": [],
|
|
"model": "user-model-built-in",
|
|
"adapter": "",
|
|
"resourceType": "Application",
|
|
"resources": ["app-built-in"],
|
|
"actions": ["Read", "Write", "Admin"],
|
|
"effect": "Allow",
|
|
"isEnabled": true,
|
|
"submitter": "admin",
|
|
"approver": "admin",
|
|
"approveTime": "2025-08-11T08:43:22Z",
|
|
"state": "Approved"
|
|
}
|
|
],
|
|
"plans": [],
|
|
"pricings": [],
|
|
"products": [],
|
|
"providers": [
|
|
{
|
|
"owner": "admin",
|
|
"name": "provider_captcha_default",
|
|
"createdTime": "2025-08-11T08:43:23Z",
|
|
"displayName": "Captcha Default",
|
|
"category": "Captcha",
|
|
"type": "Default",
|
|
"subType": "",
|
|
"method": "",
|
|
"clientId": "",
|
|
"clientSecret": "",
|
|
"clientId2": "",
|
|
"clientSecret2": "",
|
|
"cert": "",
|
|
"customAuthUrl": "",
|
|
"customTokenUrl": "",
|
|
"customUserInfoUrl": "",
|
|
"customLogo": "",
|
|
"scopes": "",
|
|
"userMapping": null,
|
|
"httpHeaders": null,
|
|
"host": "",
|
|
"port": 0,
|
|
"disableSsl": false,
|
|
"title": "",
|
|
"content": "",
|
|
"receiver": "",
|
|
"regionId": "",
|
|
"signName": "",
|
|
"templateCode": "",
|
|
"appId": "",
|
|
"endpoint": "",
|
|
"intranetEndpoint": "",
|
|
"domain": "",
|
|
"bucket": "",
|
|
"pathPrefix": "",
|
|
"metadata": "",
|
|
"idP": "",
|
|
"issuerUrl": "",
|
|
"enableSignAuthnRequest": false,
|
|
"emailRegex": "",
|
|
"providerUrl": ""
|
|
}
|
|
],
|
|
"records": [],
|
|
"resources": [],
|
|
"roles": [],
|
|
"sessions": [],
|
|
"subscriptions": [],
|
|
"syncers": [],
|
|
"tokens": [],
|
|
"transactions": [],
|
|
"users": [
|
|
{
|
|
"owner": "lobechat",
|
|
"name": "user",
|
|
"createdTime": "2025-08-11T17:18:50+08:00",
|
|
"updatedTime": "2025-08-11T09:19:46Z",
|
|
"deletedTime": "",
|
|
"id": "b3aa6ae0-ea16-44d5-9cad-373692995a11",
|
|
"externalId": "",
|
|
"type": "normal-user",
|
|
"password": "pswd123",
|
|
"passwordSalt": "",
|
|
"passwordType": "plain",
|
|
"displayName": "User",
|
|
"firstName": "",
|
|
"lastName": "",
|
|
"avatar": "https://lobehub.com/favicon.ico",
|
|
"avatarType": "",
|
|
"permanentAvatar": "",
|
|
"email": "pfub7l@example.com",
|
|
"emailVerified": false,
|
|
"phone": "93788949801",
|
|
"countryCode": "US",
|
|
"region": "",
|
|
"location": "",
|
|
"address": [],
|
|
"affiliation": "Example Inc.",
|
|
"title": "",
|
|
"idCardType": "",
|
|
"idCard": "",
|
|
"homepage": "",
|
|
"bio": "",
|
|
"tag": "staff",
|
|
"language": "",
|
|
"gender": "",
|
|
"birthday": "",
|
|
"education": "",
|
|
"score": 0,
|
|
"karma": 0,
|
|
"ranking": 1,
|
|
"balance": 0,
|
|
"currency": "",
|
|
"isDefaultAvatar": false,
|
|
"isOnline": false,
|
|
"isAdmin": false,
|
|
"isForbidden": false,
|
|
"isDeleted": false,
|
|
"signupApplication": "",
|
|
"hash": "",
|
|
"preHash": "",
|
|
"accessKey": "",
|
|
"accessSecret": "",
|
|
"accessToken": "",
|
|
"createdIp": "",
|
|
"lastSigninTime": "",
|
|
"lastSigninIp": "",
|
|
"github": "",
|
|
"google": "",
|
|
"qq": "",
|
|
"wechat": "",
|
|
"facebook": "",
|
|
"dingtalk": "",
|
|
"weibo": "",
|
|
"gitee": "",
|
|
"linkedin": "",
|
|
"wecom": "",
|
|
"lark": "",
|
|
"gitlab": "",
|
|
"adfs": "",
|
|
"baidu": "",
|
|
"alipay": "",
|
|
"casdoor": "",
|
|
"infoflow": "",
|
|
"apple": "",
|
|
"azuread": "",
|
|
"azureadb2c": "",
|
|
"slack": "",
|
|
"steam": "",
|
|
"bilibili": "",
|
|
"okta": "",
|
|
"douyin": "",
|
|
"kwai": "",
|
|
"line": "",
|
|
"amazon": "",
|
|
"auth0": "",
|
|
"battlenet": "",
|
|
"bitbucket": "",
|
|
"box": "",
|
|
"cloudfoundry": "",
|
|
"dailymotion": "",
|
|
"deezer": "",
|
|
"digitalocean": "",
|
|
"discord": "",
|
|
"dropbox": "",
|
|
"eveonline": "",
|
|
"fitbit": "",
|
|
"gitea": "",
|
|
"heroku": "",
|
|
"influxcloud": "",
|
|
"instagram": "",
|
|
"intercom": "",
|
|
"kakao": "",
|
|
"lastfm": "",
|
|
"mailru": "",
|
|
"meetup": "",
|
|
"microsoftonline": "",
|
|
"naver": "",
|
|
"nextcloud": "",
|
|
"onedrive": "",
|
|
"oura": "",
|
|
"patreon": "",
|
|
"paypal": "",
|
|
"salesforce": "",
|
|
"shopify": "",
|
|
"soundcloud": "",
|
|
"spotify": "",
|
|
"strava": "",
|
|
"stripe": "",
|
|
"tiktok": "",
|
|
"tumblr": "",
|
|
"twitch": "",
|
|
"twitter": "",
|
|
"typetalk": "",
|
|
"uber": "",
|
|
"vk": "",
|
|
"wepay": "",
|
|
"xero": "",
|
|
"yahoo": "",
|
|
"yammer": "",
|
|
"yandex": "",
|
|
"zoom": "",
|
|
"metamask": "",
|
|
"web3onboard": "",
|
|
"custom": "",
|
|
"webauthnCredentials": null,
|
|
"preferredMfaType": "",
|
|
"recoveryCodes": null,
|
|
"totpSecret": "",
|
|
"mfaPhoneEnabled": false,
|
|
"mfaEmailEnabled": false,
|
|
"invitation": "",
|
|
"invitationCode": "",
|
|
"faceIds": null,
|
|
"ldap": "",
|
|
"properties": {},
|
|
"roles": null,
|
|
"permissions": null,
|
|
"groups": [],
|
|
"lastChangePasswordTime": "2025-08-11T09:19:46Z",
|
|
"lastSigninWrongTime": "",
|
|
"signinWrongTimes": 0,
|
|
"managedAccounts": null,
|
|
"mfaAccounts": null,
|
|
"mfaItems": null,
|
|
"mfaRememberDeadline": "",
|
|
"needUpdatePassword": false,
|
|
"ipWhitelist": ""
|
|
},
|
|
{
|
|
"owner": "built-in",
|
|
"name": "admin",
|
|
"createdTime": "2025-08-11T08:43:23Z",
|
|
"updatedTime": "2025-08-11T09:26:11Z",
|
|
"deletedTime": "",
|
|
"id": "d9f5b23b-6a49-4879-a015-3454522422c9",
|
|
"externalId": "",
|
|
"type": "normal-user",
|
|
"password": "pswd123",
|
|
"passwordSalt": "",
|
|
"passwordType": "plain",
|
|
"displayName": "Admin",
|
|
"firstName": "",
|
|
"lastName": "",
|
|
"avatar": "https://cdn.casbin.org/img/casbin.svg",
|
|
"avatarType": "",
|
|
"permanentAvatar": "",
|
|
"email": "admin@example.com",
|
|
"emailVerified": false,
|
|
"phone": "12345678910",
|
|
"countryCode": "US",
|
|
"region": "",
|
|
"location": "",
|
|
"address": [],
|
|
"affiliation": "Example Inc.",
|
|
"title": "",
|
|
"idCardType": "",
|
|
"idCard": "",
|
|
"homepage": "",
|
|
"bio": "",
|
|
"tag": "staff",
|
|
"language": "",
|
|
"gender": "",
|
|
"birthday": "",
|
|
"education": "",
|
|
"score": 2000,
|
|
"karma": 0,
|
|
"ranking": 1,
|
|
"balance": 0,
|
|
"currency": "",
|
|
"isDefaultAvatar": false,
|
|
"isOnline": false,
|
|
"isAdmin": true,
|
|
"isForbidden": false,
|
|
"isDeleted": false,
|
|
"signupApplication": "app-built-in",
|
|
"hash": "",
|
|
"preHash": "",
|
|
"accessKey": "",
|
|
"accessSecret": "",
|
|
"accessToken": "",
|
|
"createdIp": "127.0.0.1",
|
|
"lastSigninTime": "",
|
|
"lastSigninIp": "",
|
|
"github": "",
|
|
"google": "",
|
|
"qq": "",
|
|
"wechat": "",
|
|
"facebook": "",
|
|
"dingtalk": "",
|
|
"weibo": "",
|
|
"gitee": "",
|
|
"linkedin": "",
|
|
"wecom": "",
|
|
"lark": "",
|
|
"gitlab": "",
|
|
"adfs": "",
|
|
"baidu": "",
|
|
"alipay": "",
|
|
"casdoor": "",
|
|
"infoflow": "",
|
|
"apple": "",
|
|
"azuread": "",
|
|
"azureadb2c": "",
|
|
"slack": "",
|
|
"steam": "",
|
|
"bilibili": "",
|
|
"okta": "",
|
|
"douyin": "",
|
|
"kwai": "",
|
|
"line": "",
|
|
"amazon": "",
|
|
"auth0": "",
|
|
"battlenet": "",
|
|
"bitbucket": "",
|
|
"box": "",
|
|
"cloudfoundry": "",
|
|
"dailymotion": "",
|
|
"deezer": "",
|
|
"digitalocean": "",
|
|
"discord": "",
|
|
"dropbox": "",
|
|
"eveonline": "",
|
|
"fitbit": "",
|
|
"gitea": "",
|
|
"heroku": "",
|
|
"influxcloud": "",
|
|
"instagram": "",
|
|
"intercom": "",
|
|
"kakao": "",
|
|
"lastfm": "",
|
|
"mailru": "",
|
|
"meetup": "",
|
|
"microsoftonline": "",
|
|
"naver": "",
|
|
"nextcloud": "",
|
|
"onedrive": "",
|
|
"oura": "",
|
|
"patreon": "",
|
|
"paypal": "",
|
|
"salesforce": "",
|
|
"shopify": "",
|
|
"soundcloud": "",
|
|
"spotify": "",
|
|
"strava": "",
|
|
"stripe": "",
|
|
"tiktok": "",
|
|
"tumblr": "",
|
|
"twitch": "",
|
|
"twitter": "",
|
|
"typetalk": "",
|
|
"uber": "",
|
|
"vk": "",
|
|
"wepay": "",
|
|
"xero": "",
|
|
"yahoo": "",
|
|
"yammer": "",
|
|
"yandex": "",
|
|
"zoom": "",
|
|
"metamask": "",
|
|
"web3onboard": "",
|
|
"custom": "",
|
|
"webauthnCredentials": null,
|
|
"preferredMfaType": "",
|
|
"recoveryCodes": null,
|
|
"totpSecret": "",
|
|
"mfaPhoneEnabled": false,
|
|
"mfaEmailEnabled": false,
|
|
"invitation": "",
|
|
"invitationCode": "",
|
|
"faceIds": null,
|
|
"ldap": "",
|
|
"properties": {},
|
|
"roles": null,
|
|
"permissions": null,
|
|
"groups": null,
|
|
"lastChangePasswordTime": "2025-08-11T09:26:11Z",
|
|
"lastSigninWrongTime": "",
|
|
"signinWrongTimes": 0,
|
|
"managedAccounts": null,
|
|
"mfaAccounts": null,
|
|
"mfaItems": null,
|
|
"mfaRememberDeadline": "",
|
|
"needUpdatePassword": false,
|
|
"ipWhitelist": ""
|
|
}
|
|
],
|
|
"webhooks": [
|
|
{
|
|
"owner": "admin",
|
|
"name": "webhook_default",
|
|
"createdTime": "2025-08-11T17:13:56+08:00",
|
|
"organization": "lobechat",
|
|
"url": "http://localhost:3210/api/webhooks/casdoor",
|
|
"method": "POST",
|
|
"contentType": "application/json",
|
|
"headers": [
|
|
{
|
|
"name": "casdoor-secret",
|
|
"value": "casdoor-secret"
|
|
}
|
|
],
|
|
"events": ["update-user"],
|
|
"tokenFields": null,
|
|
"objectFields": ["All"],
|
|
"isUserExtended": false,
|
|
"singleOrgOnly": false,
|
|
"isEnabled": true
|
|
}
|
|
]
|
|
}
|