[Discussion] Google OAuth Redirection Issue in Self-Hosted Teable Community #1957
Replies: 1 comment 3 replies
-
|
Hello @Sebastien73,
|
Beta Was this translation helpful? Give feedback.
-
|
Hello @Sebastien73,
|
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Hello,
I’m testing Teable in self-hosted mode with the teable-community image and I have some questions about how Google OAuth works.
Here’s my setup:
Teable backend accessible at https://teable.octoop.com
Teable pod + Redis running correctly
Google OAuth configured with:
Authorized Redirect URI: https://teable.octoop.com/api/auth/google/callback
Client ID and Client Secret passed as environment variables
What happens:
I go to https://teable.octoop.com/
No Teable frontend appears, I’m directly redirected to Google OAuth (endpoint /api/auth/google) with a query param redirect_uri=/space
After authenticating on Google, I return to /api/auth/google/callback
Then Teable tries to redirect to /space
Google blocks the redirection with “Access blocked: Authorization Error” every time
My questions:
Is it normal that the frontend shows no “Sign in with Google” button and automatically redirects to Google?
Is the redirect_uri parameter used by Teable (/space) fixed, or can it be modified to point to a full external URL?
Should anything be configured on the Google side so that /space is accepted, or is this entirely handled by the Teable server?
Is there a recommended way to use Teable Community with Google OAuth in self-hosted mode without Google blocking the redirection?
Thanks in advance for any guidance—I want to make sure I haven’t missed any configuration steps before digging further.
Beta Was this translation helpful? Give feedback.
All reactions