-
Notifications
You must be signed in to change notification settings - Fork 9
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
Finish migrating from email to sub for auth #2871
Finish migrating from email to sub for auth #2871
Conversation
Chromatic failures are addressed in #2876 |
Just a gut-check, but will our seeded admit still be able to have an email as a (Just in case, would love to merge #2813 before this, as that PR is prone to merge conflicts due to removing all of |
No worries. We've got a week left in the sprint and this isn't blocking anything. |
Yeah, there are no restrictions on sub other than it must be unique. We can seed |
Running through QA test (thanks for the list)!
|
Is making I'm trying to foresee where things could go bad with allowing Also, if we do keep it "Subject" seems like it's a term leaking through the auth protocol abstraction. Maybe something more like "External ID" |
Also, maybe this is over-thinking, but it also breaks a piece of any ad-hoc audit trail we might have. If any admin could swap their ID to someone else's, then it breaks one of the more authoritative assurances we have (that a GCKey account using a gov email is logging in and making some change) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
minor questions above, but address at your discretion. LGTM as-is!
Thanks for the review! Good questions about sub - I've started #2887 to capture your ideas. Feel free to add more over there. Regarding emails - we do have validation in the input field and in the graphql layer. If you feel like you want to tighten it up further you could start an issue for that, too. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@patcon those are some valid questions about sub, @petertgiles thanks for making a new issue. I think this one's good for now!
This branch finishes migrating from
email
tosub
for authentication.Use cases for testing
Closes #2722