Skip to content

Commit 2a4f4d3

Browse files
committed
Fix birthdate updates for OAuth users via gatekeeper
OAuth sessions lack full-access scope, so the PDS blocks reading and writing personalDetailsPref. Route Blacksky PDS OAuth users through the gatekeeper which creates a full-access internal session. The dialog now asks for the account password first, fetches preferences with full access via /gate/get-preferences (new endpoint), shows the actual birthdate, and saves via /gate/put-preferences. Non-Blacksky PDS OAuth users are redirected to their PDS account page. App passwords are detected and rejected with a clear error message.
1 parent fd874db commit 2a4f4d3

3 files changed

Lines changed: 374 additions & 66 deletions

File tree

0 commit comments

Comments
 (0)