Invite Link doesn't route properly


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: