Integrate OAuth flow UI and RBAC roles - #439
Merged
Merged
Conversation
magnusg-kdab
force-pushed
the
oauthintegration
branch
2 times, most recently
from
April 23, 2026 08:40
a86aa1d to
4364093
Compare
Signed-off-by: Magnus Groß <magnus.gross+github@kdab.com>
magnusg-kdab
force-pushed
the
oauthintegration
branch
from
April 23, 2026 13:49
4364093 to
a9946e9
Compare
|
PR produced different images: |
Contributor
Author
|
Note the codacy "warnings" are all false positives: Those class members are all being used. |
drslebedev
approved these changes
Apr 27, 2026
drslebedev
left a comment
Contributor
There was a problem hiding this comment.
Thanks for the PR!
The changes look good to me.
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.










































This is the followup of fair-acc/opencmw-cpp#402 to integrate the OAuth flow and RBAC in the UI.
Once the user has signed in, available roles will be displayed in the UI. The public key is added to the keystore worker and messages can be signed and in turn other clients can cryptographically verify that the user does indeed have access to the role.
The available roles are configured on the keycloak/oauth-provider side and can be set dynamically depending on provided scope.
Note that the OAuth session does not survive application restarts yet, as there is no persistent cache yet and login is only available in editableMode.
Closes #203