BookStack
BookStack is an open-source wiki/document platform. Use Casdoor for sign-in with the following steps.
步骤1:创建一个Casdoor应用
In Casdoor, add an application (e.g. BookStack). Note Name, Organization, Client ID, and Client secret.

步骤2:配置Casdoor登录
接下来,导航到BookStack并找到文件oauth.conf.example。
将 oauth.conf.example 重命名为 oauth.conf 和 修改配置 默认情况下,内容如下:
[oauth]
casdoorOrganization = "<组织>"
casdoorApplication = "bookstack"
casdoorEndpoint = http://localhost:8000
clientId = <客户端 ID>
clientSecret = <客户端密钥>
redirectUrl = http://localhost:8181/login/callback
步骤3:在Casdoor中填写redirectUrl
在最后一步中,返回到您添加BookStack应用程序的页面,并填写Redirect URLs。 确保Redirect URL与oauth.conf文件中的redirectUrl相同。
After deploying BookStack, sign in via Casdoor.