Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

[Feature] Sso Backend support #3366

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

Open
yangzehan wants to merge 23 commits into DataLinkDC:dev
base: dev
Choose a base branch
Loading
from yangzehan:sso
Open

[Feature] Sso Backend support #3366

yangzehan wants to merge 23 commits into DataLinkDC:dev from yangzehan:sso

Conversation

Copy link
Contributor

@yangzehan yangzehan commented Apr 9, 2024

Integrate github's oauth authentication.Other SSO authentication can be expanded in the future.
image
Users need to enable the sso function in the configuration
image
and configure the correct authentication parameters
Access the /sso/token port to log in.
image

github-actions[bot] reacted with thumbs up emoji github-actions[bot] reacted with rocket emoji
@Zzm0809 Zzm0809 changed the title (削除) Sso Backend support (削除ここまで) (追記) [Feature] Sso Backend support (追記ここまで) Apr 9, 2024
url: jdbc:mysql://${MYSQL_ADDR:127.0.0.1:3306}/${MYSQL_DATABASE:dinky}?useUnicode=true&characterEncoding=UTF-8&autoReconnect=true&useSSL=false&zeroDateTimeBehavior=convertToNull&serverTimezone=Asia/Shanghai&allowPublicKeyRetrieval=true
username: ${MYSQL_USERNAME:dinky}
password: ${MYSQL_PASSWORD:dinky}
url: jdbc:mysql://${MYSQL_ADDR:127.0.0.1:3306}/${MYSQL_DATABASE:dinky2}?useUnicode=true&characterEncoding=UTF-8&autoReconnect=true&useSSL=false&zeroDateTimeBehavior=convertToNull&serverTimezone=Asia/Shanghai&allowPublicKeyRetrieval=true
Copy link
Contributor

@Zzm0809 Zzm0809 Apr 9, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

rollback this file

@Zzm0809 Zzm0809 added this to the 1.1.0 milestone Apr 10, 2024
@Zzm0809 Zzm0809 added the New Feature New feature label Apr 10, 2024
# If you use the h2 database, please configure the h2 database connection information in application-h2.yml,
# note: the h2 database is only for experience use, and the related data that has been created cannot be migrated, please use it with caution
active: ${DB_ACTIVE:h2} #[h2,mysql,pgsql]
active: ${DB_ACTIVE:mysql} #[h2,mysql,pgsql]
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

rollback this line

Copy link
Contributor

Zzm0809 commented Jun 13, 2024

controller 逻辑下沉到 service 层, 配置封装一下配置类,而不是通过@value 获取

Copy link
Contributor

Zzm0809 commented Sep 19, 2024

@yangzehan 需要写一下文档 集成步骤

@aiwenmo aiwenmo modified the milestones: 1.1.0, Roadmap, 1.3.0 Nov 24, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

@Zzm0809 Zzm0809 Zzm0809 left review comments

@aiwenmo aiwenmo Awaiting requested review from aiwenmo

@gaoyan1998 gaoyan1998 Awaiting requested review from gaoyan1998

@zackyoungh zackyoungh Awaiting requested review from zackyoungh

At least 1 approving review is required to merge this pull request.

Labels

New Feature New feature

Projects

Status: Doing

Milestone

1.3.0

Development

Successfully merging this pull request may close these issues.

AltStyle によって変換されたページ (->オリジナル) /