feat(monitoring): update OIDC config for improved authentication handling

This commit is contained in:
uttarayan21
2025-10-24 14:36:15 +05:30
parent 705c6c0b3b
commit 5539c45489

View File

@@ -157,15 +157,18 @@
auth_url = "https://auth.darksailor.dev/api/oidc/authorization"; auth_url = "https://auth.darksailor.dev/api/oidc/authorization";
token_url = "https://auth.darksailor.dev/api/oidc/token"; token_url = "https://auth.darksailor.dev/api/oidc/token";
api_url = "https://auth.darksailor.dev/api/oidc/userinfo"; api_url = "https://auth.darksailor.dev/api/oidc/userinfo";
login_attribute_path = "preferred_username"; login_attribute_path = "email";
groups_attribute_path = "groups"; groups_attribute_path = "groups";
name_attribute_path = "name"; name_attribute_path = "name";
email_attribute_path = "email";
username_attribute_path = "preferred_username";
use_pkce = true; use_pkce = true;
auto_login = true; auto_login = true;
allow_sign_up = true; allow_sign_up = true;
role_attribute_path = ""; role_attribute_path = "contains(groups[*], 'sso_admin') && 'Admin' || Viewer";
use_refresh_token = false; use_refresh_token = false;
id_token_attribute_name = ""; id_token_attribute_name = "";
signout_redirect_url = "https://auth.darksailor.dev/logout";
}; };
}; };