Skip to content
Draft
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 10 additions & 0 deletions apps/check/src/checks/account.ts
Original file line number Diff line number Diff line change
Expand Up @@ -146,6 +146,16 @@ const listAppPasswords: Check = {
const client = authedClient(ctx.agent!);
const res = await client.get("com.atproto.server.listAppPasswords", {});
if (!res.ok) {
// The reference PDS forbids OAuth credentials on this endpoint
// ("OAuth credentials are not supported for this endpoint"), so a
// 403 from our DPoP session is conformant behavior, not a failure.
if (res.status === 403) {
return {
status: "skip",
message: "endpoint rejects OAuth sessions (matches reference PDS)",
evidence: { response: { status: res.status, body: res.data } },
};
}
return {
status: "fail",
message: `${res.data.error}: ${res.data.message ?? ""}`.trim(),
Expand Down