Can't find OAuth option in a self hosted NocoDB

I’m deploying nocoDB on an LXC using tteck Proxmox Helper Scripts.
Everything is working well but I can’t seem to find the option to enable Google OAuth. Is this feature reserved to the enterprise version only and not for the self-hosted version? As far as I know the self-hosted and enterprise version is exactly the same.
Or maybe do I need to deploy it in a docker?

Please advice,

Thank you.

1 Like

I installed it using docker with SQLite,
but still the same, I can’t find this menu (referred by Google Auth docs).

  • Go to Account Settings > Authentication > Google OAuth

Currently, I still have not configured the Setup (still a warning sign, need to configure email and storage), do I need to configure this first?

I also can’t find it on Users > Settings.

Does anyone have an idea where I can set up the Google OAuth?

thank you.

To enable Google authentication, you need to set the following environment variables. The redirection URL will be the dashboard URL, e.g., http://localhost:8080/dashboard.

Required Environment Variables:

• NC_GOOGLE_CLIENT_ID

• NC_GOOGLE_CLIENT_SECRET

:open_book: Documentation: Authentication Environment Variables


:light_bulb: Note: Documentation for authentication and other topics marked with :cloud:(cloud icon) is for enterprise users only.

1 Like

thank you @pranavxc ,
I have successfully logged in with Google OAuth.
Several points to be mentioned:

  • Hopefully the NocoDB’s Google Auth docs will be updated with information about the environment variables.
  • After adding the environment variables, one of the easiest clues to see the link to /auth/google is to logout, which will be shown on the login screen.

I hope it will also be helpful for others who first install NocoDB.

1 Like