Skip to content

feat: integrate Casdoor #154

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Sep 12, 2022
Merged

feat: integrate Casdoor #154

merged 1 commit into from
Sep 12, 2022

Conversation

leo220yuyaodog
Copy link
Contributor

@leo220yuyaodog leo220yuyaodog commented Jun 7, 2022

登录模块及个人信息管理替换为Casdoor

使用Casdoor进行认证
特点:
支持OIDC、OAuth 2.0、SAML、LDAP
Casdoor基于Casbin的授权管理,支持ACL、RBAC、ABAC、RESTful访问控制模型
前端和后端独立架构,支持高并发,提供基于web的管理UI
Casdoor支持Github、谷歌、QQ、微信等第三方应用登录,支持通过插件扩展第三方登录。
电话验证码,电子邮件验证码和忘记密码功能。
访问日志审计和记录。
Casdoor支持使用db同步方法与现有系统集成,用户可以顺利过渡到Casdoor。
Casdoor支持MySQL、PostgreSQL、SQL Server等主流数据库,并支持通过插件对新数据库进行扩展。
演示视频:

bookstack_casdoor.mp4

Signed-off-by: YaoDong Yu magicwindyyd@gmail.com

@hsluoyz
Copy link

hsluoyz commented Jun 14, 2022

@TruthHun any advice?

@TruthHun TruthHun merged commit cb57ce8 into TruthHun:master Sep 12, 2022
@leo220yuyaodog
Copy link
Contributor Author

The Bookstack integrate casdoor document https://casdoor.org/docs/integration/bookstack.

The BookStack docunment need to update the deploy document 配置第三方登录(非必须)

Rename oauth.conf.example to oauth.conf and modify the configuration. The content of which by default is:

[oauth]

casdoorOrganization =  <"Organization">
casdoorApplication = "bookstack"              
casdoorEndpoint = http://localhost:8000 
clientId =   <client ID>
clientSecret =  <client Secret>
redirectUrl = http://localhost:8181/login/callback 

注册登录

Migrating form old version to use Casdoor, Casdoor provides syncer to quickly help you sync user data to Casdoor.
Database Syncer

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants