Microservice to bring 2FA to self hosted PDSes

No compatible authentication mechanism was found #4

Closed pds.dad
Closed opened by pds.dad

Pds and gatekeeper are running, there are no errors or any messages in the docker log of the gate keeper until an authentication is attempted. 2FA can both be enabled and disabled from bsky web, including entering the code sent to my mail for disabling it.

What works:

  • Login & Logout with 2FA disabled
  • enabling 2FA
  • disabling 2FA + receiving code via email.

What does not work:

  • login with 2FA enabled, see error below

Gatekeeper Logs:

bsky-gatekeeper  | 2025-10-16T23:51:35.555724Z ERROR pds_gatekeeper::helpers: Error sending the 2FA email: internal client error: No compatible authentication mechanism was found    
bsky-gatekeeper  | 2025-10-16T23:51:35.555775Z ERROR pds_gatekeeper::xrpc::com_atproto_server: Error during pre-auth check. This happens on the create_session endpoint when trying to decide if the user has access:
bsky-gatekeeper  |  internal client error: No compatible authentication mechanism was found

Hi,

somehow missed the notification for this, ?tls=required for PDS_EMAIL_SMTP_URL fixed it (at least for the scaleway SMTP servers). Thanks for the help and the software itself 😃

Sign up or Sign in to add to the discussion.