fix(auth): support dynamic OSS callbacks and LangBot Account copy (#2428)

* fix(auth): support dynamic OSS callbacks and LangBot Account copy

* style(web): format LangBot Account copy

---------

Co-authored-by: dadachann <[email protected]>
This commit is contained in:
Hyu
2026-08-13 23:18:01 +08:00
committed by GitHub
co-authored by dadachann
parent b121c66f18
commit 5084f2391d
14 changed files with 298 additions and 232 deletions
@@ -377,7 +377,7 @@ class TestUserServiceAuthenticate:
service = UserService(ap)
# Execute & Verify
with pytest.raises(ValueError, match='请使用 Space 账户登录'):
with pytest.raises(ValueError, match='请使用 LangBot 账号登录'):
await service.authenticate('[email protected]', 'password')
@@ -726,7 +726,7 @@ class TestUserServiceCreateOrUpdateSpaceUser:
)
service = UserService(ap)
with pytest.raises(ControlPlaneDirectoryRequiredError, match='Space account'):
with pytest.raises(ControlPlaneDirectoryRequiredError, match='LangBot Account'):
await service.register_invited_account('invite-token', '[email protected]', 'password')
async def test_create_or_update_new_space_user_first_init(self):