One-time Passwords E-Mail Whitelist not working #175

Closed
opened 2025-11-13 11:52:11 -06:00 by GiteaMirror · 1 comment
Owner

Originally created by @doing5 on GitHub (Mar 23, 2025).

Hi there,

I want to secure a resource via OTP (One-Time Password) through email.

To implement this approach, one needs to add the email to: Resources --> Authentication --> One-time Passwords --> Whitelisted Emails and save it.

It says, "Saved successfully. Whitelist settings have been saved."

Image

BUT: The saved E-Mail is not showing up after refreshing:

Image

Then I will access the resource and enter the email address previously added to receive a one-time password. However, it says "Email is not valid."

SMTP is configured and working (test was performed). I don't know where the problem lies, as the log file doesn't provide any information. Tried already different mail adresses.

Image

Information:
There is no other user beside the admin user.

Originally created by @doing5 on GitHub (Mar 23, 2025). Hi there, I want to secure a resource via OTP (One-Time Password) through email. To implement this approach, one needs to add the email to: Resources --> Authentication --> One-time Passwords --> Whitelisted Emails and save it. It says, "Saved successfully. Whitelist settings have been saved." ![Image](https://github.com/user-attachments/assets/1cce1a35-d7a5-456f-a9c8-750b3c34ed9d) BUT: The saved E-Mail is not showing up after refreshing: ![Image](https://github.com/user-attachments/assets/e754b5f9-13b0-40fc-ac03-ac77a1bae8a5) Then I will access the resource and enter the email address previously added to receive a one-time password. However, it says "Email is not valid." SMTP is configured and working (test was performed). I don't know where the problem lies, as the log file doesn't provide any information. Tried already different mail adresses. ![Image](https://github.com/user-attachments/assets/dc3e1134-1c64-413d-889a-cfdd2f7c8992) Information: There is no other user beside the admin user.
Author
Owner

@miloschwartz commented on GitHub (Mar 23, 2025):

Hi, I think I see the problem here. Make sure to hit enter after typing the email so it turns into a bubble in the field. It should look like this:

Image

Then, click save and try to test the authentication.

@miloschwartz commented on GitHub (Mar 23, 2025): Hi, I think I see the problem here. Make sure to hit enter after typing the email so it turns into a bubble in the field. It should look like this: <img width="1385" alt="Image" src="https://github.com/user-attachments/assets/920ca612-43ae-419e-b868-1390209e6945" /> Then, click save and try to test the authentication.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/pangolin#175