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

Can we rely on ID to stay constant? #23

Closed
th0mas opened this issue Jul 1, 2020 · 1 comment · Fixed by #22
Closed

Can we rely on ID to stay constant? #23

th0mas opened this issue Jul 1, 2020 · 1 comment · Fixed by #22

Comments

@th0mas
Copy link
Collaborator

th0mas commented Jul 1, 2020

auth_plug makes an id field available in the conn assigns. This seems to be set by the auth application which I haven't looked into much. Can this be relied on to uniquely identify a user?

If not, it's probably worth updating #22 to make this clear.

@th0mas th0mas linked a pull request Jul 1, 2020 that will close this issue
@nelsonic
Copy link
Member

nelsonic commented Jul 1, 2020

Yes, person.id is unique and sequential to the given email address. 🔑

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

Successfully merging a pull request may close this issue.

2 participants