Add Discord OAuth login

This commit is contained in:
Tim
2025-07-16 18:03:08 +08:00
parent fa95328f6d
commit 18d25e303a
11 changed files with 283 additions and 0 deletions

View File

@@ -12,6 +12,7 @@ import SettingsPageView from '../views/SettingsPageView.vue'
import ProfileView from '../views/ProfileView.vue'
import NotFoundPageView from '../views/NotFoundPageView.vue'
import GithubCallbackPageView from '../views/GithubCallbackPageView.vue'
import DiscordCallbackPageView from '../views/DiscordCallbackPageView.vue'
const routes = [
{
@@ -74,6 +75,11 @@ const routes = [
name: 'github-callback',
component: GithubCallbackPageView
},
{
path: '/discord-callback',
name: 'discord-callback',
component: DiscordCallbackPageView
},
{
path: '/404',
name: 'not-found',