I made this change to increase software support for Lemmy Federate. This way, besides Lemmy and Mbin, other software that supports FEP-1b12 such as NodeBB, Piefed, Guppe, Friendica or other custom implementations (like blogs) will be able to register to Lemmy Federate.
However, I must admit that this change makes the login mechanism more difficult. But I believe it was worth it.
An example authentication flow:
- Enter instance host and click login

- Add given record to DNS, and click login again

- At this point, API key becomes reusable between logins.
If you experience any problems please let me know.
3 Comments
Blaze@lemmy.dbzer0.com · 4 pts · 1y
Thank you for the update!
Quokka@quokk.au · 2 pts · 1y
"Request failed with status code 404 Not Found: POST https://quokk.au/api/v3/user/login"
When trying to submit, and I'm not seeing the account subscribing to anything.
iso@lemy.lol · 2 pts · 1y
You switched to Piefed? It’s still registered as Lemmy instance in Lemmy Federate. This is an edge case I haven’t thought of.
I can fix this manually but if you haven't transferred keys, switching on the same domain didn't seem healthy to me.
Update: fixed it.