Skip to content

Commit

Permalink
fix(ui): keycloak (#2921)
Browse files Browse the repository at this point in the history
  • Loading branch information
shahargl authored Dec 29, 2024
1 parent 3c3cb83 commit edcabaf
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
4 changes: 4 additions & 0 deletions keep-ui/auth.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -225,6 +225,10 @@ export const config = {
if ((profile as any)?.keep_role) {
role = (profile as any).keep_role;
}
} else if (authType === AuthType.KEYCLOAK) {
// TODO: remove this once we have a proper way to get the tenant id
tenantId = (profile as any).keep_tenant_id || "keep";
role = (profile as any).keep_role;
} else {
accessToken =
user.accessToken || account.access_token || account.id_token;
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[tool.poetry]
name = "keep"
version = "0.33.1"
version = "0.33.2"
description = "Alerting. for developers, by developers."
authors = ["Keep Alerting LTD"]
packages = [{include = "keep"}]
Expand Down

0 comments on commit edcabaf

Please sign in to comment.