I setup gatekeeper, and tried to login into my self-hosted ATProto account on my PDS. And I got an unknown error occurred when the frontend tried to do the oauth signin.
Request:
POST /@atproto/oauth-provider/~api/sign-in HTTP/2
Host: bluesky.nickthesick.com
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:142.0) Gecko/20100101 Firefox/142.0
Accept: */*
Accept-Language: en-US,en;q=0.5
Accept-Encoding: gzip, deflate, br, zstd
Referer: https://bluesky.nickthesick.com/oauth/authorize?client_id=https%3A%2F%2Fbookhive.buzz%2Fclient-metadata.json&request_uri=urn%3Aietf%3Aparams%3Aoauth%3Arequest_uri%3Areq-7fecf2e0d3ec9ff58e7b733368999ed6
x-csrf-token: d3a78c36ed6492f1897b6638
content-type: application/json
Content-Length: 105
Origin: https://bluesky.nickthesick.com
Sec-GPC: 1
Connection: keep-alive
Cookie: dev-id=dev-ab665ca; ses-id=ses-441dfa7ff85c1515; csrf-token=d3a78c36638
Sec-Fetch-Dest: empty
Sec-Fetch-Mode: same-origin
Sec-Fetch-Site: same-origin
Priority: u=0
Pragma: no-cache
Cache-Control: no-cache
TE: trailers
Response:
HTTP/2 502
alt-svc: h3=":443"; ma=2592000
date: Sun, 07 Sep 2025 03:11:15 GMT
server: Caddy
via: 1.1 Caddy
content-length: 0
X-Firefox-Spdy: h2
I figure that this may just be because I have not yet done any sort of setup for the 2FA?
From the gatekeeper container I was able to access the pds, so they are on the same network (I used a different docker-compose than you did), here is what I did below:
And, I checked that I could reach it at that host from within the gatekeepr container with: