Google OAuth
NocoDB offers a functionality that allows users to connect with Google OAuth 2.0, enabling them to log into their NocoDB accounts using their Google authentication credentials. This article provides a step-by-step guide to integrating Google OAuth 2.0 with NocoDB.
- Copy
Redirect URL
from NocoDB- Go to
Account Settings
>Authentication
>Google OAuth
- Copy the
Redirect URL
from theGoogle OAuth
section
- Go to
- Go to Google Cloud Console and create a new project.
- Visit the
OAuth consent screen
within theAPIs & Services
section.
a) Decide on the configuration and registration preferences for your application, specifying the intended user demographic
b) Click on theCreate
button - Set up the OAuth consent screen by providing details about the application and specifying the authorized domains where you host NocoDB.
- Proceed to the
Credentials
screen, then click onCreate Credentials
. ChooseOAuth Client ID
from the available options to generate OAuth credentials. - Choose
Web application
from the options available in theApplication type
dropdown menu. - Configure the following
a)Authorized JavaScript origins
refer to the HTTP origins where your web application is hosted, such as https://app.nocodb.com
b)Authorized Redirect URIs
refer to the URIs where the user is redirected after successful authentication with Google. Paste the Redirect URL copied from NocoDB in step (1). - Click on the
Create
button to generate the OAuth credentials. Copy theClient ID
andClient Secret
from the OAuth 2.0 Client IDs section. - Go to
Account Settings
>Authentication
>Google OAuth
in NocoDB and paste theClient ID
andClient Secret
in the respective fields.