added authorization flow

This commit is contained in:
2023-04-23 10:15:25 +02:00
parent 20e9a392ca
commit 70f18f75df
8 changed files with 6006 additions and 3120 deletions

5
web/pages/index.vue Normal file
View File

@@ -0,0 +1,5 @@
<template>
<div class="w-full h-screen bg-neutral-900 text-primary">
<a href="https://discord.com/api/oauth2/authorize?client_id=1052974736432443432&redirect_uri=http%3A%2F%2Flocalhost%3A3000%2Fapi%2Fauth&response_type=code&scope=identify">Login with Discord</a>
</div>
</template>