feat(auth): Redirect user after OAuth login and add logos icon collection

This commit is contained in:
web@ppanel
2025-01-20 23:55:58 +07:00
parent 5ed04c0a59
commit aa6dda894b
4 changed files with 6 additions and 1 deletions
+3 -1
View File
@@ -119,7 +119,9 @@ export default function Page() {
method,
redirect: `${window.location.origin}/oauth/${method}`,
});
console.log(data);
if (data.data?.redirect) {
window.location.href = data.data?.redirect;
}
}}
>
<Icon icon={icons[method as keyof typeof icons]} />