I’m trying to implement 2FA within the application so that when a user signed up and logged in it will enable the user to create/activate 2fa on their profile.
The user would go to a Setup 2FA page where a QR code would be generated and that QR code would be scanned on the Google Authenticator or Authy app. To validate the 2FA code the user should then type the code from the authenticator app and check if it matches to complete the 2FA Setup.
This 2FA code can expire every month so that the device can be remembered(this is to avoid having the user go through 2FA every single login)
This is more or less a summary of what I want to do which seems simple in theory but difficult to do without seeing code(Sorry I’m new to the world of bubble and no code platform )
I’m aware that you can enable 2FA in the project/application settings and work with it through workflows.
I was able to generate QR code when confirming the password however I’m struggling to present it back to the user so it can be scanned.
Do I have to setup some Data Types to store these codes or does bubble handle these code generations and storage externally?
Thanks in advance
Michal