mirror of
https://github.com/abbas-gheydi/radotp.git
synced 2026-04-26 19:45:55 +03:00
[GH-ISSUE #13] incorrect secret code #12
Labels
No labels
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/radotp#12
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @rabdallah1512 on GitHub (Dec 18, 2024).
Original GitHub issue: https://github.com/abbas-gheydi/radotp/issues/13
Hi,
After installation and I can access the web interface without problem with admi/admin, I encountered a problem that the forewall fortigate can not reach the radotp server, although I receive logs on radotp that connection accept from the user who I have the fortigate test, it displays the error message on the fortigate side: incorrect secret code, although it is correct, I also test it locally and works. Thank you for your help.
@abbas-gheydi commented on GitHub (Dec 18, 2024):
Dear @rabdallah1512 , I believe your problem is similar to the issue described in #11
@rabdallah1512 commented on GitHub (Dec 19, 2024):
Hello dear Abbas, thank you for coming back. Yes, I actually solved the problem. #11#I just wanted to know how many users the RADOTP can support, knowing that they'll probably be synced with Active Directory. Thanks in advance for your reply.
@abbas-gheydi commented on GitHub (Dec 21, 2024):
there is no limitation on the number of users you can add to RadOTP. It is unlimited.
@rabdallah1512 commented on GitHub (Dec 22, 2024):
Thank you for the solution, yes indeed, the solution is indeed functional, it's just that the web interface I can add users and generate a QR code with the interface, but after that I cannot find these users no I can recover given them, just when I consult the database, thank you
@abbas-gheydi commented on GitHub (Dec 27, 2024):
If a user forgets their QR code, the solution is to regenerate it for them. :)
If I understand your issue correctly, you're looking to create users in bulk, and the web interface isn't suitable for bulk actions. That’s correct. To solve this, you can enable the REST API and make sure you set the token for the REST API in radotp.conf. This way, you can write a script to create as many users as you need, with minimal effort. The API documentation is also available in the RadOTP web interface in Swagger format.
Additionally, I’ve just closed the issue "incorrect secret code" because it has been resolved.