Secure oauth flow (state parameter) #4

Open
opened 2025-05-10 17:00:17 +00:00 by hex · 1 comment
Owner
No description provided.
hex added the
TODO
Priority: HIGH
labels 2025-05-10 17:00:17 +00:00
Author
Owner

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

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
Sign in to join this conversation.
No labels
Priority: HIGH
TODO
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: stereo.cat/backend#4
No description provided.