Skip to content

check: skip listAppPasswords when the PDS rejects OAuth sessions - #237

Draft
zzstoatzz wants to merge 1 commit into
ascorbic:mainfrom
zzstoatzz:listapppasswords-oauth-skip
Draft

check: skip listAppPasswords when the PDS rejects OAuth sessions#237
zzstoatzz wants to merge 1 commit into
ascorbic:mainfrom
zzstoatzz:listapppasswords-oauth-skip

Conversation

@zzstoatzz

Copy link
Copy Markdown

the listAppPasswords check runs against an OAuth (DPoP) session, but the reference PDS explicitly forbids OAuth credentials on this endpoint — its handler throws ForbiddenError('OAuth credentials are not supported for this endpoint') for any OAuth credential (listAppPasswords.ts). so a 403 here is conformant behavior, and a PDS matching the reference currently fails the check. treat that 403 as a skip instead.

seen in the wild against a zds instance, which gates app-password management behind password sessions the same way and returned AuthFactorTokenRequired: Password session required:

✗ listAppPasswords — AuthFactorTokenRequired: Password session required

opened as a draft since you may prefer to key the skip off the error body rather than the bare status, or to surface it as a pass with a note.

bufo-asks-politely-to-stop

🤖 Generated with Claude Code

https://claude.ai/code/session_01WEGRiZrVy9BCS4sXh2BKbg

the reference PDS explicitly forbids OAuth credentials on
com.atproto.server.listAppPasswords ('OAuth credentials are not
supported for this endpoint'), so a 403 from the checker's DPoP
session is conformant behavior. treat it as a skip instead of a
failure.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01WEGRiZrVy9BCS4sXh2BKbg
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant