Using Google OAuth requires you to fill in the Google Id
and Google Secret
of your Google OAuth app.
Follow these steps to enable Google OAuth on your server.
- Go to the Google Developer Console, and create a new project if you don't have one yet
- Next, navigate to APIs and services > OAuth consent screen
- On the OAuth consent screen, set the required fields and specify the App name then hit Save and Continue
- When you are done with creating the new app, head over to the dashboard where information of the app is displayed.
- To create the
OAuth client ID
, head over to the credentials tab and click the CREATE CREDENTIALS. A dropdown appears, select OAuth Client ID
- Set the application type to Web Application then hit CREATE. This is so that they'll be possibility for a callback URL which is needed for the configuration.
- You are then provided with your client ID and secret.
- Copy these credentials from and fill them in the Google section of the OAuth configuration of your Rocket.Chat server then hit Save changes
When all is set, you will find on your login and register page a button for Google OAuth