Identity # access_token redirect

https://boring-jang-cb328b.netlify.app/login

I’m writing a gatsby site and am using gatsby-plugin-netlify-identity-gotrue.
I’m using the standard login and registration but also trying to use the google login, which was actually missing from this plugin.

I was able to gather enough information from the gotruejs and netlify identity widget source, that all I had to do was redirect to /.netlify/identity/authorize?provider=google which works, in the sense that it creates the account.

Upon redirection to my site, however, nothing happens. I can see a fast redirect occurring due to ‘#access_token=…’ being appended by netlify identity which I do need according to the netlify identity widget source.

What exactly am I missing that I am unable to get the access token?

This might help: