728x90
728x90
https://artifacthub.io/packages/helm/grafana/grafana
# 1. Google OAuth 2.0 Client 만들기
- 승인된 자바스크립트 원본 :
[grafana url]
- 승인된 리디렉션 URI :
[grafana url]/login/google
# 2. grafana helm value 추가
grafana.ini:
server:
root_url: [그라파나 url]
##Enable google auth
auth.google:
enabled: true
client_id: [Google Oauth Client ID]
client_secret: [Google Oauth Client Secret]
scopes: https://www.googleapis.com/auth/userinfo.profile https://www.googleapis.com/auth/userinfo.email
auth_url: https://accounts.google.com/o/oauth2/auth
token_url: https://accounts.google.com/o/oauth2/token
api_url: https://www.googleapis.com/oauth2/v1/userinfo
allowed_domains: [허용할 구글 로그인 도메인] # ex) honglab.co.kr
allow_sign_up: true
끝!
728x90
728x90
'공부 > Open Source' 카테고리의 다른 글
[ArgoCD] multiple sources 사용하기 (1) | 2023.11.03 |
---|---|
[ArgoCD] repo-server PVC 붙이기 (w. Terraform) (0) | 2023.11.03 |
[Redash/helm] Google Oauth 붙이기 (0) | 2023.10.29 |
[Keycloak 21/Terraform] AWS SAML 로그인 연동하기 (0) | 2023.10.29 |
[Keycloak 21] AWS SAML 로그인 연동하기 (1) | 2023.10.29 |
댓글