Comment
I've just signed up to Codeberg via Github auth in my macOS Safari private browsing window. The sign up flow ultimately had me input an email address and then asked to confirm via the link received via email within 3 hrs.
It took a few minutes (maybe 10 min?) for the mail to be received. Because I like it needlessly complicated, I found the mail on my phone (link preview is disabled) and sent the link to my Mac via AirDrop to open in Safari.
I was then greeted with an error message from Codeberg saying the link was invalid or expired (also after trying multiple different ways to open the link). Since this all happened within maybe 15-20 min max., the link should have been valid. I assume my phone did in fact not preview/prefetch the link before it was opened in my browser's window.
I've then tried to log in to my profile via Github, which was evidently successful. I don't see a way to confirm whether my email was successfully confirmed. Did I miss something?
If it was not confirmed: Is it possible that there's an (e.g. timing) issue with email link validation code?
If the email was confirmed without me ever seeing a success message (e.g. there was in fact a prefetch by my phone of some sort): Maybe it would be better to show a better error, or rather success message for more-or-less-recent validation codes that were registered as successful? E.g. "The confirmation was already successful, please continue to login." or similar.
Or maybe it's something weird involving the register/login-with-Github flow, or the fact that it's Safari or a private browsing session?