feat(oauth): Update OAuth login handling to use callback parameter and improve URL parameter retrieval

This commit is contained in:
web@ppanel
2025-01-22 22:16:04 +07:00
parent 0aa5d5b0a9
commit 9227411d74
4 changed files with 25 additions and 7 deletions
+1 -1
View File
@@ -234,7 +234,7 @@ declare namespace API {
type OAuthLoginGetTokenRequest = {
/** google, facebook, apple, telegram, github etc. */
method: string;
code: string;
callback: Record<string, any>;
};
type OAuthLoginResponse = {