gravitl / netmaker

Netmaker makes networks with WireGuard. Netmaker automates fast, secure, and distributed virtual networks.
https://netmaker.io
Other
9.4k stars 547 forks source link

[Bug]: Cannot SSO via Google on v0.21.0 #2607

Open ghost opened 12 months ago

ghost commented 12 months ago

Contact Details

No response

What happened?

I installed a fresh instance with Google SSO on v0.21.0, my Google SSO doesn't work. I revert back to v0.20.5 and v0.20.6, it works just fine.

Version

v0.21.0

What OS are you using?

Linux, Mac

Relevant log output

[netmaker] 2023-09-28 09:15:11 user created from  xxx@mail.com
[netmaker] 2023-09-28 09:15:11 completed google OAuth sigin in for xxx@mail.com
[netmaker] 2023-09-28 09:15:12 xxx@mail.comfetched user xxx@mail.com
[netmaker] 2023-09-28 09:15:12 xxx@mail.comfetched user xxx@mail.com
[netmaker] 2023-09-28 09:15:12 processed request error: forbidden

Contributing guidelines

abhishek9686 commented 11 months ago

when a user signs up using SSO, the user will be created as normal user, in the new user management from v0.21.0, the dashboard is only restricted to admins, normal users are expected to use Remote Access Client to join the network Also currently there is a known bug which will be fixed in v0.21.1 to allow update of the oAuth user to the admin role