feat(auth): add superadmin support for OAuth clients
CI / build-and-test (push) Successful in 2m46s

* Introduce Superadmin field in OAuthClient configuration
* Implement IsSuperadmin method in OAuthRegistry
* Update identityAdmin to check superadmin status via OAuthRegistry
* Add tests for OAuthRegistry superadmin functionality
This commit is contained in:
warkanum committed 2026-07-20 23:19:51 +02:00
1 parent 196b543bee
commit d7c0205c50
6 files changed
+52 -7

No files matched your search

+1
View File
@@ -31,6 +31,7 @@ auth:
- id: "oauth-client"
client_id: ""
client_secret: ""
superadmin: false
description: "optional OAuth client credentials"
database: