Invite Link doesn't route properly

Hello,

I have just made my first site with netlify cms and gatsby and I’m struggling with the identity section. I have invited a user but when they click on the link it goes straight to the home page. I can see the auth token appear in the address bar but then it disappears. If the user logs in via google OAuth they get in fine, but there’s no way to ever set a password or anything.

Im using gatsby-plugin-netlify-identity but haven’t implemented anything in the jsx files as I don’t want a login widget on my main page. I just want the ability to log in via the admin route.

Can anyone help?

Simply change the email templates: https://docs.netlify.com/visitor-access/identity/identity-generated-emails/#email-templates