Skip to content

Latest commit

 

History

History
49 lines (30 loc) · 1.64 KB

google-login.md

File metadata and controls

49 lines (30 loc) · 1.64 KB
description
Configure Google OAuth to enable login via Google for the appsmith installation

Google OAuth

Click to expand

To enable Google Sign in, login to your google cloud console

1. Navigate to the OAuth consent section under APIs & Services

Click to expand

2. Configure the consent screen with the domain on which you want to host appsmith

Click to expand

3. Navigate to the credentials section and create new OAuth Credentials

Click to expand

4. Configure the OAuth Credentials for a web application

Javascript Origins: The domain on which you are hosting appsmith with https (ex: https://app.appsmith.com)

Redirect URIs: Append /login/oauth2/code/google to your Javascript origins (ex: https://app.appsmith.com/login/oauth2/code/google)

Click to expand

5. Update the docker.env file in your appsmith deployment folder

# ******** Google OAuth ********
APPSMITH_OAUTH2_GOOGLE_CLIENT_ID=YOUR_CLIENT_ID
APPSMITH_OAUTH2_GOOGLE_CLIENT_SECRET=YOUR_CLIENT_SECRET
# ******************************

6. Restart docker & nginx

sudo docker-compose rm -fsv appsmith-internal-server nginx && sudo docker-compose up -d 

Google Login should now be enabled for your appsmith installation