Home
Help
Search
Login
Register
OPNsense Forum
»
English Forums
»
General Discussion
»
Allow user to setup her own TOTP
« previous
next »
Print
Pages: [
1
]
Author
Topic: Allow user to setup her own TOTP (Read 809 times)
Juicestyle
Newbie
Posts: 10
Karma: 0
Allow user to setup her own TOTP
«
on:
March 27, 2023, 09:55:45 am »
Hello,
I try to add right for a user to allow him to setup her TOTP.
It's possible to add right to access to the page and only for the user connected with QRCode to setup google authenticator?
Or another way to doing that ?
Logged
BessieSims
Newbie
Posts: 1
Karma: 0
Re: Allow user to setup her own TOTP
«
Reply #1 on:
March 31, 2023, 10:59:06 am »
To clarify, it sounds like you are trying to grant a specific user permission to set up their own TOTP (Time-based One-Time Password) using Google Authenticator, while ensuring that only that user can access the QR code to set it up.
One way to accomplish this could be to create a specific page or section within your application that is only accessible to the user who needs to set up their TOTP. You could then use user authentication and authorization mechanisms to restrict access to this page or section, ensuring that only the authorized user can access it.
Once the user has access to this page, you can provide them with the necessary information and instructions to set up their TOTP using Google Authenticator, including the QR code that they will need to scan. To ensure that only the authorized user can access this QR code, you could generate a unique code for each user that is tied to their specific account, and display this code only to the authorized user when they access the TOTP setup page.
Overall, the key is to use appropriate authentication and authorization mechanisms to ensure that only the authorized user can access the necessary page or section, and that any sensitive information (such as the QR code) is only displayed to that user.
Logged
Print
Pages: [
1
]
« previous
next »
OPNsense Forum
»
English Forums
»
General Discussion
»
Allow user to setup her own TOTP