Something went wrong. Try again.
Microservice to bring 2FA to self hosted PDSes forked from pds.dad/pds-gatekeeper
Something went wrong. Try again.
Fix CORS: reflect request headers instead of wildcard master
Firefox rejects credentialed cross-origin requests when Access-Control-Allow-Headers is `*`, because per the Fetch spec the wildcard is not treated as a wildcard when credentials are involved. This causes failures on endpoints like getSession and createSession when accessed from bsky.app. Switch from `.allow_headers(Any)` to `.allow_headers(AllowHeaders::mirror_request())` which echoes the browser's Access-Control-Request-Headers back verbatim, matching the behaviour of the PDS's Express cors middleware. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Author Enrico Graziani Co-author Claude Opus 4.6 Committer Tangled Date (Mar 3, 2026, 5:00 AM UTC) Commit e48cb5ee e48cb5ee1a68dd8ed5b3187d8ebfe22670058e10 Parent 04f863e2 04f863e2f393704ef7468f1149bbec6833a07208