Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 8 additions & 0 deletions src/libsync/opencloudtheme.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -50,4 +50,12 @@ QmlButtonColor OpenCloudTheme::secondaryButtonColor() const
{
return {"#CA8DF5", "#19353F", "#B0B0B0"};
}

QString OpenCloudTheme::openIdConnectScopes() const
{
// Include "groups" so IDPs whose group claim is scope-gated (Authelia,
// default-config Keycloak, Authentik) emit it, enabling server-side
// role mapping via PROXY_ROLE_ASSIGNMENT_OIDC_CLAIM. See issue #217.
return QStringLiteral("openid offline_access email profile groups");
}
}
1 change: 1 addition & 0 deletions src/libsync/opencloudtheme.h
Original file line number Diff line number Diff line change
Expand Up @@ -27,5 +27,6 @@ class OpenCloudTheme : public Theme
QIcon wizardHeaderLogo() const override;
QmlButtonColor primaryButtonColor() const override;
QmlButtonColor secondaryButtonColor() const override;
QString openIdConnectScopes() const override;
};
}