bluesky-social / pds

Bluesky PDS (Personal Data Server) container image, compose file, and documentation
Other
1.38k stars 126 forks source link

BadJwtLexiconMethod error during account migration #87

Closed burningtree closed 2 months ago

burningtree commented 2 months ago

I'm trying to migrate my account to own PDS following the instructions in ACCOUNT_MIGRATION.md, but I got stuck right at the beginning, on creating an account on my PDS.

Specifically, my PDS endpoint com.atproto.server.createAccount returns an error:

{
    "error": "BadJwtLexiconMethod",
    "message": "missing jwt lexicon method (\"lxm\"). must match: com.atproto.server.createAccount"
}

My PDS is brand new, installed via an install script a few hours ago.

What could be wrong?


PDS version: 0.4.55 (latest)

Docker image:

REPOSITORY                   TAG       IMAGE ID       CREATED       SIZE
ghcr.io/bluesky-social/pds   0.4       9b895a0c3aad   2 weeks ago   235MB
burningtree commented 2 months ago

So I found the problem. It's a non-updated instruction. After adding bluesky-social/atproto#2663 feature, we have to use the lxm parameter when calling atproto.server.getServiceAuth to get the correct JWT.

I created PR #88 with fix for you. You're welcome 💙