Skip to content

override resonant default for account_get to resolve safelinks issue#440

Merged
BryonLewis merged 1 commit intomainfrom
account-confirm-get
Mar 18, 2026
Merged

override resonant default for account_get to resolve safelinks issue#440
BryonLewis merged 1 commit intomainfrom
account-confirm-get

Conversation

@BryonLewis
Copy link
Collaborator

Regarding users at some institutions having issues with the django-allauth  email verification link:

I'm wondering if Safelinks are pre-GETing the verification email link, so when a user opens it in their email, it is already verified and 'expired' because of this setting: https://github.com/kitware-resonant/cookiecutter-resonant/blob/master/django-resonant-settings/resonant_settings/allauth.py#L53 - ACCOUNT_CONFIRM_EMAIL_ON_GET=True

https://docs.allauth.org/en/latest/account/configuration.html#email-verification - documentation is just below this link.

I think when set to FALSE just adds an extra click to verification but should prevent Safelinks from triggering verification via GET before a user looks at the email.  The allauth documentation even mentions adding some JS to hit the POST endpoint automatically on the template so it behaves like a single click.

@BryonLewis BryonLewis merged commit 5f454fb into main Mar 18, 2026
5 checks passed
@BryonLewis BryonLewis deleted the account-confirm-get branch March 18, 2026 12:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant