[GH-ISSUE #123] Email whitelisting not working #3240

Closed
opened 2026-04-20 07:09:39 -05:00 by GiteaMirror · 2 comments
Owner

Originally created by @maddler on GitHub (Jan 31, 2025).
Original GitHub issue: https://github.com/fosrl/pangolin/issues/123

Version: v1.0.0-beta.10

Steps to reproduce:

  1. add either a specific email address or a wildcard (*@example.com) to the OTP Email Whitelist
  2. visit the relevant URL for the resource
  3. request a new OTP

Expected behavior: email with OTP sent
Actual behavior: "Email is not whitelisted" error displayed

Tried both with an existing and a new resource.

Image
Image

Originally created by @maddler on GitHub (Jan 31, 2025). Original GitHub issue: https://github.com/fosrl/pangolin/issues/123 Version: v1.0.0-beta.10 Steps to reproduce: 1. add either a specific email address or a wildcard (*@example.com) to the OTP Email Whitelist 2. visit the relevant URL for the resource 3. request a new OTP Expected behavior: email with OTP sent Actual behavior: "Email is not whitelisted" error displayed Tried both with an existing and a new resource. ![Image](https://github.com/user-attachments/assets/549cffdb-50f2-4b4d-819a-25cae252f94f) ![Image](https://github.com/user-attachments/assets/a487777f-f1f7-472d-9066-95e534d2e23d)
Author
Owner

@miloschwartz commented on GitHub (Jan 31, 2025):

Hi, I think you might not be hitting enter after typing in the email, then clicking "Save Whitelist" after. The email should turn into a "chip/tag/bubble" (what ever you want to call it in web design these days lol). Here is an example:

Edit: We can make this more clear somehow in the dashboard. Let me know if you have any ideas.

Image
<!-- gh-comment-id:2628032323 --> @miloschwartz commented on GitHub (Jan 31, 2025): Hi, I think you might not be hitting enter after typing in the email, then clicking "Save Whitelist" after. The email should turn into a "chip/tag/bubble" (what ever you want to call it in web design these days lol). Here is an example: Edit: We can make this more clear somehow in the dashboard. Let me know if you have any ideas. <img width="784" alt="Image" src="https://github.com/user-attachments/assets/b342a510-a973-4375-be1c-c9a78af31f3a" />
Author
Owner

@maddler commented on GitHub (Jan 31, 2025):

Ah, d'oh! True!
I see how it makes sense but also not too obvious if you're not going to add more addresses.
Anyhow, thanks for the amazing work!

<!-- gh-comment-id:2628107195 --> @maddler commented on GitHub (Jan 31, 2025): Ah, d'oh! True! I see how it makes sense but also not too obvious if you're not going to add more addresses. Anyhow, thanks for the amazing work!
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/pangolin#3240