feat(oauth): Add certification component for handling OAuth login callbacks and improve user authentication flow

This commit is contained in:
web@ppanel
2025-01-20 23:50:42 +07:00
parent 652e0323fd
commit 5ed04c0a59
34 changed files with 327 additions and 12 deletions
+2
View File
@@ -161,6 +161,7 @@ declare namespace API {
invite: InviteConfig;
currency: CurrencyConfig;
subscribe: SubscribeConfig;
oauth_methods: string[];
};
type GetStatResponse = {
@@ -227,6 +228,7 @@ declare namespace API {
type OAthLoginRequest = {
/** google, facebook, apple, telegram, github etc. */
method: string;
redirect: string;
};
type OAuthLoginResponse = {