Secure oauth flow (state parameter) #4
Labels
No labels
Priority: HIGH
TODO
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: stereo.cat/backend#4
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
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?
See https://discord.com/developers/docs/topics/oauth2#state-and-security
Currently we do not use the state parameter at ALL. We must randomly generate one when the user calls /api/login alongside the oauth2 url and check it in /api/auth/callback