Auth #8
No reviewers
Labels
No labels
bug
documentation
duplicate
enhancement
good first issue
help wanted
invalid
question
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Total time spent: 1 week 4 days
Due date
john4064
1 week 4 days
No due date set.
Dependencies
No dependencies set.
Reference
Doble/MatchMakingServices!8
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "Auth"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Auth Logic
This PR will contain the authentication logic for the application, first handling the login, registration, and token logic for the application. This is a WIP.
AI Generated
Go with Option 1 using goth + golang-jwt. Here's why:
You already have PostgreSQL — don't add a second DB for Pocketbase
Your WebSocket backend is already in Go, so auth code lives right next to where it's consumed
goth makes OAuth (Google, GitHub, etc.) genuinely straightforward — it handles the callback, token exchange, and user profile fetch
JWTs validate locally so there's no auth service round-trip on every WebSocket message
#10
Authto WIP: AuthWIP: Authto Auth