mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-09-22 19:53:48 +08:00
fix(core): oauth popup blocked in safari (#8144)
fix(core): oauth popup blocked in safari fix(core): standarize auth routes fix AF-1352
This commit is contained in:
@@ -66,6 +66,27 @@ export const topLevelRoutes = [
|
||||
path: '/sign-in',
|
||||
lazy: () => import('./pages/sign-in'),
|
||||
},
|
||||
{
|
||||
path: '/magic-link',
|
||||
lazy: () =>
|
||||
import(
|
||||
/* webpackChunkName: "auth" */ '@affine/core/pages/auth/magic-link'
|
||||
),
|
||||
},
|
||||
{
|
||||
path: '/oauth/login',
|
||||
lazy: () =>
|
||||
import(
|
||||
/* webpackChunkName: "auth" */ '@affine/core/pages/auth/oauth-login'
|
||||
),
|
||||
},
|
||||
{
|
||||
path: '/oauth/callback',
|
||||
lazy: () =>
|
||||
import(
|
||||
/* webpackChunkName: "auth" */ '@affine/core/pages/auth/oauth-callback'
|
||||
),
|
||||
},
|
||||
{
|
||||
path: '/redirect-proxy',
|
||||
lazy: () => import('@affine/core/pages/redirect'),
|
||||
|
||||
Reference in New Issue
Block a user