-
Notifications
You must be signed in to change notification settings - Fork 376
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
fix(auth): Add TotpInfo
field to UserRecord
#2197
Conversation
e9dc3a6
to
3b87f96
Compare
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.
Can you update the PR description to describe the change and also include the manual testing done? Thanks!
fd542b0
to
fa82293
Compare
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.
Can you leave a snippet of the user record output in the PR description? Thanks!
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.
LGTM
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.
LGTM
61b4269
to
998afeb
Compare
TotpInfo
field to UserRecord
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.
Thank you! LGTM!
* Fixes to password policy validation * add test * feat(auth): Add `TotpInfo` field to `UserRecord` (#2197) * Adding TotpInfo to userRecord * Changing type from `any` to `unknown` for type safety. * Addressing feedback --------- Co-authored-by: pragatimodi <110490169+pragatimodi@users.noreply.github.com>
TotpInfo
field to UserRecord
TotpInfo
field to UserRecord
Adding a
TotpInfo
field toUserRecord
for Admin users to view a user's MFA configuration. TOTP enrollment for users is enabled via client SDKs only.Testing was done by manually enrolling a user on TOTP using curl and creating a test app to get the corresponding user's
UserRecord
configurationManual testing output: