feat: use demo site Casdoor config

This commit is contained in:
Yang Luo 2023-12-30 15:56:20 +08:00
parent 1a6b86460c
commit cd0c2f257c
2 changed files with 7 additions and 6 deletions

View File

@ -8,13 +8,14 @@ driverName = mysql
dataSourceName = root:123@tcp(localhost:3306)/ dataSourceName = root:123@tcp(localhost:3306)/
dbName = casnode dbName = casnode
domain = "forum.casbin.com" domain = "forum.casbin.com"
casdoorDbName = casdoor casdoorEndpoint = https://door.casdoor.com
; casdoorEndpoint = http://localhost:8000
clientId = 014ae4bd048734ca2dea
clientSecret = f26a4115725867b7bb7b668c81e1f8f7fae1544d
casdoorOrganization = "casbin" casdoorOrganization = "casbin"
casdoorApplication = "app-casnode" casdoorApplication = "app-casnode"
casdoorDbName =
casdoorStorageEndpoint = "https://cdn.casbin.com/" casdoorStorageEndpoint = "https://cdn.casbin.com/"
casdoorEndpoint = http://localhost:8000
clientId = 014ae4bd048734ca2dea
clientSecret = xxx
httpProxy = "127.0.0.1:10808" httpProxy = "127.0.0.1:10808"
initScore = 2000 initScore = 2000
enableNestedReply = true enableNestedReply = true

View File

@ -13,8 +13,8 @@
// limitations under the License. // limitations under the License.
export const AuthConfig = { export const AuthConfig = {
// serverUrl: "https://door.casbin.com", serverUrl: "https://door.casdoor.com",
serverUrl: "http://localhost:7001", // serverUrl: "http://localhost:7001",
clientId: "014ae4bd048734ca2dea", clientId: "014ae4bd048734ca2dea",
organizationName: "casbin", organizationName: "casbin",
appName: "app-casnode", appName: "app-casnode",