-
Notifications
You must be signed in to change notification settings - Fork 20
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
feat: add TOTP MFA functions #60
Conversation
AlexCuse
commented
Nov 23, 2023
•
edited
Loading
edited
- add OTP related arguments to login / session token login
- add new functions for OTP related server calls
- document new functions and note server version required
@cainlevy I think this should be good to go - I am not including the AMR claim on the JS side since we aren't in great shape to verify. Seems similar to what we did with the session ID and some of the other custom claims. |
This has some tests that should be failing (otp needs to be string | undefined). Not sure why CI came up clean. Going to try and add tests over the next week and a half or so. |
@cainlevy mind another look at this? I got down a bit of a rabbit hole trying to update MSW and ran into issues trying to use typescript dependencies with jest. Decided to give up and came back to fix the credentials type and add some tests using the old version. |