anuj6163
04/11/2024, 8:03 AMlocalhost:3000/auth/callback
,
thirdPartyId: provider
})
this.route.navigate([response]);
}
auth.routes.ts
export const AuthRoutes: Routes = [
{
path: '',
component: AuthComponent,
children: [
{ path: '', redirectTo: 'login', pathMatch: 'full' },
{
path: 'callback',
component: CallbackComponent,
title: 'Auth | Callback',
},
{ path: 'login', component: LoginComponent, title: 'Auth | Login' },
{ path: 'logout', component: LogoutComponent, title: 'Auth | Logout' },
{
path: 'register',
component: RegisterComponent,
title: 'Auth | Register',
},
{
path: 'forgot-password',
component: ForgotPasswordComponent,
title: 'Auth | Forgot Password',
},
{
path: 'reset-password',
component: ResetPasswordComponent,
title: 'Auth | Reset Password',
},
],
},
];SuperTokens is an open source authentication solution offering features like: Different types of login: Email / password, Passwordless (OTP or Magic link based).
Powered by