saml 로그인 관련 기능수정#25
Merged
jschoiRR merged 2 commits intoablecloud-team:ablestack-diplofrom Aug 14, 2025
Merged
Conversation
8249e33
into
ablecloud-team:ablestack-diplo
2 of 12 checks passed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
PR 설명
saml 로그인 관련 기능수정
saml 설정시, saml 세션이 존재하지 않는 경우 saml 로그인화면으로 가는 이슈 -> wall 로그인 화면으로 이동하도록 수정
saml 로그인 후, 로그아웃시 saml 세션 로그아웃 되도록 수정
grafana db 컬럼추가(user_auth_token 테이블에 id_token)
sudo systemctl stop grafana-server
cp ./data/grafana.db grafana.db.backup
sqlite3 grafana.db
ALTER TABLE user_auth_token ADD COLUMN id_token TEXT;
.schema user_auth_token
sudo systemctl start grafana-server
wall 관련 sso login
[auth]
signout_redirect_url = http://[wall]/login?disableAutoLogin=true
signout_url = http://[keycloak]/realms/[realms]/protocol/openid-connect/logout
[auth.generic_oauth]
enabled = true
name = Keycloak
allow_sign_up = true
client_id = grafana
client_secret = [client sectet]
auth_url = http://[keycloak]/realms/[realms]/protocol/openid-connect/auth
token_url = http://[keycloak]/realms/[realms]/protocol/openid-connect/token
api_url = http://[keycloak]/realms/[realms]/protocol/openid-connect/userinfo
scopes = openid profile email
login_attribute_path = preferred_username
email_attribute_path = email
role_attribute_path = contains(roles[*], 'grafana-admin') && 'Admin' || 'Viewer'
auto_login = true
Client
Client scope
Client
Users
변경 구분
기능/개선 규모 또는 버그 심각도
기능/개선 규모
버그 심각도
스크린샷
테스트 방법 및 결과