Our Personal Data Server from scratch! tranquil.farm
oauth atproto pds rust postgresql objectstorage fun

Server still confuses hostname, user_handle_domains and available_user_domains #36

open opened by zepman.tngl.sh edited

Follow up on #33, using the same configuration example. Great progress on it overall, but it is not complete yet according to my testing. The username seems to be correct, but the DID in certain situations seems incorrect.

When a user registers a new account and chooses did:web as the identity type, the registration page (/app/oauth/sso-register) correctly notes that the did will be:

did:web:user.example.social

However, once the user logs in, the DID turns out to be:

did:web:user.bluesky.example.com

This is incorrect. I believe the DID should be based on username, not the server hostname.

fair and factual, will work on this within a week or two unless someone else gets to it first

I really appreciate the work, Lewis. Compared to the reference PDS implementation, Tranquil PDS is a breath of fresh air in terms of features it supports.

Looking forward to the updates!

sign up or login to add to the discussion
Labels

None yet.

assignee

None yet.

Participants 2
AT URI
at://did:plc:hmrmw6jp6zgrka3y46mt33u3/sh.tangled.repo.issue/3mgmhsii4a422