A lexicon-driven AppView for ATProto. happyview.dev
backfill firehose jetstream atproto appview oauth lexicon

Can't login when HappyView is on the same domain as PDS #3mrl7gc5bgo22

Closed opened by ducky.ws
·

I'm hosting HappyView at api.zio.blue. My PDS is on zio.blue. When I try to login, I'm met with a "The data you submitted is invalid. Please check the form and try again." error. If I move HappyView to an entirely different domain (that isn't on *.zio.blue), I can login.

Delete this issue?

This cannot be undone.

trezy.codes
·

That doesn't seem right. Did you set PUBLIC_URL to api.zio.blue?

Login to leave a reply

Delete comment?

This cannot be undone.

ducky.ws
·

Yes. When I tried it on a different domain with the PUBLIC_URL set appropriately, it worked again. This seems to occur in all three identity modes too. My envfile is as follows:

DATABASE_URL=postgresql://[...]
PUBLIC_URL=https://api.zio.blue
SESSION_SECRET=[...]
TOKEN_ENCRYPTION_KEY=[...]
RELAY_URL=https://bsky.network
RUST_LOG=happyview=info,tower_http=info
PORT=3000
HOST=0.0.0.0

Currently logging in with a eurosky.social account to get around this.

Login to leave a reply

Delete comment?

This cannot be undone.

ducky.ws
·

This appeared to be an upstream PDS issue. As of 0.4.5027, this no longer occurs!

Reactions

❤️ · 1

Login to leave a reply

Delete comment?

This cannot be undone.

Sign up or Login to add to the discussion.