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 5163722 commit 6a95abdCopy full SHA for 6a95abd
plugins/auth_fief/fps_auth_fief/backend.py
@@ -61,7 +61,9 @@ async def _(
61
allowed = checked_permissions[resource] = []
62
for action in actions:
63
try:
64
- await fief.validate_access_token(access_token, required_permissions=[f"{resource}:{action}"])
+ await fief.validate_access_token(
65
+ access_token, required_permissions=[f"{resource}:{action}"]
66
+ )
67
except BaseException:
68
pass
69
else:
@@ -72,6 +74,7 @@ async def _(
72
74
73
75
await websocket.close(code=status.WS_1008_POLICY_VIOLATION)
76
return None
77
+
78
return _
79
80
0 commit comments