How to connect current account to Google Account?


I just configured the Google auth integration. 

It works creating accounts using Google, but I want this feature disabled.

Instead I want users to be able to connect their existing account with Google (or Github or one of the other services)

Is this working and how?


I've added my Google email to my existing account and now getting a 500 error when trying to login with Google (login with password is working)



When you authenticate with Google, Space tries to find your account by verified email. So if there are user accounts with the verified Google emails, then Google authentication should work even if new user registration is disabled in the Google auth module settings.

As for the 500 error, could you please share JS console logs?


Maxim Mazin


First one

auth.687cebd8bd3ac3ed1a79.js:1 OAuth authentication failed: access_denied: User ABCDEFGHI cannot be authorized because the user is not an organization member

(anonymous) @ auth.687cebd8bd3ac3ed1a79.js:1

s @ 57.97d7ea8cb53a1cc9218d.js:1
(anonymous) @ 57.97d7ea8cb53a1cc9218d.js:1
forEach.t.<computed> @ 57.97d7ea8cb53a1cc9218d.js:1
s @ 57.97d7ea8cb53a1cc9218d.js:1
e @ 57.97d7ea8cb53a1cc9218d.js:1
(anonymous) @ 57.97d7ea8cb53a1cc9218d.js:1
i @ 57.97d7ea8cb53a1cc9218d.js:1
S._invoke @ 57.97d7ea8cb53a1cc9218d.js:1
forEach.t.<computed> @ 57.97d7ea8cb53a1cc9218d.js:1
t.async @ 57.97d7ea8cb53a1cc9218d.js:1
c @ auth.687cebd8bd3ac3ed1a79.js:1
window.onload @ iframe-auth.html:2
load (async)
(anonymous) @ iframe-auth.html:1

Second one



So I tested a little more:

  • Works with my G Suite business address
  • Doesn't works with my "private" gmail address

Another difference between these accounts is:

  • I created a space user account using this address through Google login, after that I deleted the account and added the address to my primary account

Adrian Did you verify your private gmail address in your Space account?


Adrian Isn't Google authentication limited to your GSuite email domain in Space?


Maxim Mazin

Nothing special (I think)

One strange thing:

  • I currently only have one user
  • but there are 2 profiles linked with Google
  • Maybe the second one is still my deleted user somewhere in the database. Which I created using Google auth, but deleted then, because I wanted my primary user be linked with this Google account (which isn't working now)


Follow up:

When I send an invitation to my broken gmail adress and click the invitation link, the system says I'm already in, even if I'm not (I removed the address from my profile)



It says so when you follow the invitation link while you're already logged in.


Please sign in to leave a comment.