Some checks failed
Deploy to production / deploy (push) Failing after 49s
- Created OAuth credentials setup guide for Google, Microsoft, Keycloak, ORY, and ZITADEL. - Added migration for oauth_identity table to store OAuth identities linked to users. - Implemented OAuthIdentity model for managing OAuth identities in the database. - Developed oauthService to handle OAuth login, user creation, and identity linking. - Created OAuthCallbackView and OAuthUserCallbackView components for handling OAuth responses in the frontend. - Added error handling and user feedback during the OAuth process.
33 lines
846 B
JavaScript
33 lines
846 B
JavaScript
const ActivateView = () => import('../views/auth/ActivateView.vue');
|
|
const OAuthCallbackView = () => import('../views/auth/OAuthCallbackView.vue');
|
|
const OAuthUserCallbackView = () => import('../views/auth/OAuthUserCallbackView.vue');
|
|
|
|
const authRoutes = [
|
|
{
|
|
path: '/activate',
|
|
name: 'Activate page',
|
|
component: ActivateView,
|
|
meta: {
|
|
robots: 'noindex, nofollow'
|
|
}
|
|
},
|
|
{
|
|
path: '/auth/oauth/callback',
|
|
name: 'OAuth callback',
|
|
component: OAuthCallbackView,
|
|
meta: {
|
|
robots: 'noindex, nofollow'
|
|
}
|
|
},
|
|
{
|
|
path: '/auth/oauth/user/callback',
|
|
name: 'OAuth user callback',
|
|
component: OAuthUserCallbackView,
|
|
meta: {
|
|
robots: 'noindex, nofollow'
|
|
}
|
|
},
|
|
];
|
|
|
|
export default authRoutes;
|