-
Notifications
You must be signed in to change notification settings - Fork 12
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
[Active users][Settings][Kebab] Add 'OTP token' option #219
Conversation
c17c473
to
17533ea
Compare
Most of the suggestions from the review are in pvoborni@78663f8 - you can apply the commit. It was written partly to verify what I wrote is correct, second reason is that code is better illustration. |
75cbf93
to
0d21973
Compare
0d21973
to
74fd557
Compare
@pvoborni - I have already adapted the code based on your comments. |
5914a0d
to
a7a9f41
Compare
After adding a new OTP Token, a QR code to configure the token must be generated. Thus, a React-compatible library to generate those QR codes need to be used in the project. The qrcode.react[1] library has been chosen by its effective way of create and customize QR codes. [1] - https://github.com/zpao/qrcode.react Signed-off-by: Carla Martinez <[email protected]>
a7a9f41
to
61edf95
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.
Did additional manual functional testing and found 2 issues, see the comments.
61edf95
to
037943a
Compare
The 'Add OTP token' option creates a new OTP token associated to a specific user. The QR code has been generated using the qrcode.react[1] library. [1]- https://github.com/zpao/qrcode.react Signed-off-by: Carla Martinez <[email protected]>
037943a
to
1445491
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.
LGTM
The 'Add OTP token' option creates a new OTP token associated with a specific user.
After adding a new OTP Token, a QR code to configure the token must be generated. Thus, a React-compatible library to generate those QR codes needs to be used in the project.
The qrcode.react[1] library has been chosen because of its effective way of creating and customizing QR codes. To install the package just run:
npm install
.[1] - https://github.com/zpao/qrcode.react