Fix OAuth consumer mode #668
No reviewers
Labels
No labels
approved, awaiting change
bug
configuration
documentation
duplicate
enhancement
extremely low priority
feature request
Fix it yourself
help wanted
invalid
mastodon_api
needs docs
needs tests
not a bug
planned
pleroma_api
privacy
question
static_fe
triage
wontfix
No milestone
No project
No assignees
2 participants
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: AkkomaGang/akkoma#668
Loading…
Reference in a new issue
No description provided.
Delete branch ":develop"
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?
The previous code passed a state parameter to ueberauth with info about where to go after the user logged in, etc.
Since ueberauth 0.7, this parameter is ignored and oauth state is used for CSRF prevention, see here.
We now set a cookie with the state we need to keep track of, and read it once the callback happens.
Fixes #646
WIP: Fix OAuth consumer modeto Fix OAuth consumer modethanks! this passes all tests, lemme like spin up a way to actually test this and i'll make sure everything looks ok
(i'll be honest this auth mode has been neglected since way before this fork existed)