Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

PDS - Invalid handles #1246

Open
wants to merge 33 commits into
base: main
Choose a base branch
from
Open

PDS - Invalid handles #1246

wants to merge 33 commits into from

Conversation

dholms
Copy link
Collaborator

@dholms dholms commented Jun 28, 2023

This builds on #1244

  • use similar pagination for PDS implementations of routes
  • make handle on did_handle nullable
  • allow for handle contention for external domain handles
  • sends an email to a user when their handle is invalidated

@dholms dholms marked this pull request as ready for review June 28, 2023 23:31
Base automatically changed from invalid-handles to main June 30, 2023 21:02
expect(bobRes.data.handle).toEqual(HANDLE)
})

it('no longer allows a user to login with a handle they lost due to contention', async () => {
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

As I recall we want to send the user an email in this case. I realize that's not intended to land in this PR, but just wanted to resurface that in case it's blocking.

Copy link
Collaborator

@devinivy devinivy left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

A couple misc thoughts in here, but this is looking good 👍

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants