Renamed OIDC permissions claim to more commonly used groups. Move jwtk to a more convenient location. Draft admin app OIDC client configuratioon.

This commit is contained in:
Leo Vasanko
2026-02-16 16:54:53 +00:00
parent eece6d4a21
commit b73b2d6fe9
11 changed files with 295 additions and 22 deletions
-2
View File
@@ -541,7 +541,6 @@ class OIDClient(msgspec.Struct, dict=True):
client_secret_hash: bytes
name: str
redirect_uris: list[str]
created_at: datetime
def __post_init__(self):
if not hasattr(self, "uuid"):
@@ -565,7 +564,6 @@ class OIDClient(msgspec.Struct, dict=True):
client_secret_hash=secret_hash,
name=name,
redirect_uris=redirect_uris,
created_at=now,
)
client.uuid = uuid7.create(now)
return client, client_secret