OAuth: registration required by default; first-party clients registered on every start (contract C-5, C-6)

This commit is contained in:
2026-09-18 13:04:20 -07:00
parent f82f15d863
commit d6fc4600cd
8 changed files with 359 additions and 4 deletions
+4
View File
@@ -98,6 +98,10 @@ async fn insert_safe_defaults(bp: &mut Bootstrap) -> trc::Result<()> {
return Ok(());
}
// inbuxa: registration is required (contract C-5), so the first-party
// front ends are registered on every start (C-6)
super::first_party::ensure_first_party_clients(bp).await?;
if bp.registry.count_object(ObjectType::MtaQueueQuota).await? == 0 {
bp.registry
.write(RegistryWrite::insert(