mirror of https://github.com/casbin/casnode.git
feat: use demo site Casdoor config
This commit is contained in:
parent
1a6b86460c
commit
cd0c2f257c
|
@ -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
|
||||||
|
|
|
@ -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",
|
||||||
|
|
Loading…
Reference in New Issue