oauth2 fixes #177

Merged
floatingghost merged 2 commits from oauth2-fixes into develop 2022-08-21 14:46:53 +00:00

a lot of the oauth2 weirdness in pleroma was caused by it using the cookie-based session to pull out tokens - this meant that if you were to change frontends (and hence your token), your cookie would change as well, making the backend think you were a new user and skipping any checks for existing authorization

this change more or less removes session store for oauth2 (and honestly we should remove a lot more session stuff, oauth2 doesn't need state as well...)

a lot of the oauth2 weirdness in pleroma was caused by it using the cookie-based session to pull out tokens - this meant that if you were to change frontends (and hence your token), your cookie would change as well, making the backend think you were a new user and skipping any checks for existing authorization this change more or less removes session store for oauth2 (and honestly we should remove a lot more session stuff, oauth2 doesn't need state as well...)
floatingghost added 2 commits 2022-08-21 14:10:36 +00:00
ci/woodpecker/push/woodpecker Pipeline is pending Details
d5004b02b4
Do not use session for oauth tokens
ci/woodpecker/push/woodpecker Pipeline is pending Details
ci/woodpecker/pr/woodpecker Pipeline was successful Details
4b5e614d9a
totally ignore session when handling oauth2
floatingghost merged commit 429e2ac832 into develop 2022-08-21 14:46:53 +00:00
floatingghost deleted branch oauth2-fixes 2022-08-21 14:46:53 +00:00
floatingghost referenced this issue from a commit 2022-08-21 14:46:53 +00:00
rat referenced this issue from a commit 2024-02-25 20:33:29 +00:00
Sign in to join this conversation.
No description provided.