fix(auth): avoid CSRF challenges during OTP login

This commit is contained in:
Ivan Pereira
2026-06-22 11:33:40 +01:00
parent 4e77f38d5d
commit 142640d96c
6 changed files with 195 additions and 124 deletions
+7
View File
@@ -5,6 +5,13 @@ All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/),
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
## [0.2.2] - 2026-06-22
### Fixed
- Route email OTP authentication requests through the Bun-backed Perplexity fetch path to avoid CSRF 403 failures under Node/jiti.
- Send browser-like auth headers and include response previews in OTP HTTP errors.
## [0.2.1] - 2026-05-11
### Changed