[GH-ISSUE #13] incorrect secret code #12

Closed
opened 2026-03-13 14:29:10 +03:00 by kerem · 5 comments
Owner

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.

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.
kerem closed this issue 2026-03-13 14:29:15 +03:00
Author
Owner

@abbas-gheydi commented on GitHub (Dec 18, 2024):

Dear @rabdallah1512 , I believe your problem is similar to the issue described in #11

<!-- gh-comment-id:2551925244 --> @abbas-gheydi commented on GitHub (Dec 18, 2024): Dear @rabdallah1512 , I believe your problem is similar to the issue described in #11
Author
Owner

@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.

<!-- gh-comment-id:2555342162 --> @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.
Author
Owner

@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.

<!-- gh-comment-id:2558151450 --> @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.
Author
Owner

@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

<!-- gh-comment-id:2558497097 --> @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
Author
Owner

@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.

<!-- gh-comment-id:2563756004 --> @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.
Sign in to join this conversation.
No labels
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/radotp#12
No description provided.