Invite users link expires immediately

Hi,

Im using umbraco v13.8.1 and trying to invite an user via the backoffice.

When I enter the details and click ‘send invite’, an email is sent. When I click on te ‘Click this link to accept the invite‘ button in the email, im taken to https://example.com/umbraco/login?flow=invite-user&status=false&invite=3 and it says

‘Hi there, Welcome to Umbraco! Unfortunately your invite has expired. Please contact your administrator and ask them to resend it.‘

The link seems to be expiring immediately and hence im unable to to invite users. Any ideas what might be going wrong? I tried copying the URL and pasting it in the browser - same issue.

If I remember correctly, the invite mails are one-time use only to prevent tampering. However, many mail scanners actually try the link to make sure that it’s nothing bad. By doing this, they ‘used’ the invite link. I’m not sure that the solution is, but it might make it easier for you to search more specific.

Also I really think you should upgrade to the latest Umbraco 13, there is really no reason not to and it might have a fix for the issue you are describing.

Edit: I don’t see a solution for this, but there is an issue:

What I’ve successfully used as a workaround for this, is to get them to use the “Forgot password” link on the login screen.

/Chriztian

Thanks for your inputs @Luuk and @greystate . I tried the “Forgot password” workaround and I think its the same issue - on click of the ‘Click this link to reset your password‘ button in the email, it goes to https://example.com/umbraco/login?flow=reset-password&status=resetcodeexpired which is also expired.

1 Like

You’re correct @Luuk there was a fix for this and in release 13.9 User invite email fails if visited more than once without completing by dchallener · Pull Request #17901 · umbraco/Umbraco-CMS · GitHub

I’d suggest upgrading is the quickest way to get all the latest improvements and security patches @Debasish

1 Like