-
Notifications
You must be signed in to change notification settings - Fork 8
register code mfa methods via proxy #44
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
Conversation
| // TOTP and Email MFA Setup | ||
|
|
||
| message CodeMfaSetupStartRequest { | ||
| MfaMethod method = 1; |
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.
Do we expect to ever setup other methods this way?
If not maybe we should use a different enum.
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.
I wanted to use common enum for this bcs protos doesn't allow to redefine enum values across same file so i couldn't make different enum with value of TOTP and Email bcs MfaMethod already have those
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.
this field is checked in proxy and core so I think it's fine to use it
|
|
||
| // TOTP and Email MFA Setup | ||
|
|
||
| message CodeMfaSetupStartRequest { |
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.
I know why it's called CodeMfa but I think it might be confusing
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.
Propose better name if you can
Co-authored-by: Maciek <[email protected]>
No description provided.