mirror of
https://github.com/nocodb/nocodb.git
synced 2026-04-30 19:46:33 +00:00
2.0 KiB
2.0 KiB
title, description, tags, keywords
| title | description | tags | keywords | ||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| Google OAuth | Learn about different methods available for authentication with NocoDB. |
|
|
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 URLfrom NocoDB- Go to
Account Settings>Authentication>Google OAuth - Copy the
Redirect URLfrom theGoogle OAuthsection
- Go to
- Go to Google Cloud Console and create a new project.
- Visit the
OAuth consent screenwithin theAPIs & Servicessection.
a) Decide on the configuration and registration preferences for your application, specifying the intended user demographic
b) Click on theCreatebutton - Set up the OAuth consent screen by providing details about the application and specifying the authorized domains where you host NocoDB.
- Proceed to the
Credentialsscreen, then click onCreate Credentials. ChooseOAuth Client IDfrom the available options to generate OAuth credentials. - Choose
Web applicationfrom the options available in theApplication typedropdown menu. - Configure the following
a)Authorized JavaScript originsrefer to the HTTP origins where your web application is hosted, such as https://app.nocodb.com
b)Authorized Redirect URIsrefer 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
Createbutton to generate the OAuth credentials. Copy theClient IDandClient Secretfrom the OAuth 2.0 Client IDs section. - Go to
Account Settings>Authentication>Google OAuthin NocoDB and paste theClient IDandClient Secretin the respective fields.