We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 75c8b76 commit 2150eecCopy full SHA for 2150eec
tests/api/test_keycloak_middleware.py
@@ -45,6 +45,7 @@ def test_token_with_missing_required_roles(
45
# Mock the token verification to return a valid payload but with insufficient roles
46
mock_verify_jwt.return_value = {
47
"name": "Test User",
48
+ "preferred_username": "test-user",
49
"resource_access": {
50
"openremote": {
51
"roles": ["some-other-role"] # Missing required write:admin and read:admin roles
0 commit comments