All of the clients who will use this ticketing system have Google accounts, and I'd like to have it so that the only way to register is to click the 'sign in with Google' button. I have that button working for logins, but I don't want users to enter their own information and create a password as they'll always login with that button. Is there a way to enable this? I'm using version v1.18 (724de45)
Limit Registration To Google OAuth
- Best Answerset by KevinTheJedi
Set your User Registration Method to Private (Admin Panel > Settings > Users). Then any Users that login via OAuth2 SSO if they don't already exist in the helpdesk it will auto-register an account for them. The reason for this is the OAuth2 SSO users are considered pre-authorized users. With it set to Private no other Users can register until an Agent creates an account for them or they login via SSO. You can also enable "Registration Required" (Admin Panel > Settings > Users) so that they have to have an account to create Tickets (ie. no one can just open a Ticket and add their user information; they first have to login and then they can create Tickets).
Cheers.
KevinTheJedi Yes, that's perfect! Thanks very much! May the Force be with you.
KevinTheJedi Sorry, one more question, related. Is there a way to turn off the username/pw part of the login screen so that everyone just presses the 'login with Google' button?
Unfortunately not at this time. The only way to do that is to force everyone as guests which would also hide the SSO button. You can always customize the code though as we are open source.
Cheers.
KevinTheJedi OK, sounds great, thanks.