Flagsmith / flagsmith

Open Source Feature Flagging and Remote Config Service. Host on-prem or use our hosted version at https://flagsmith.com/
https://flagsmith.com/
BSD 3-Clause "New" or "Revised" License
4.7k stars 355 forks source link

google oAuth not work #4319

Closed aakuz closed 1 month ago

aakuz commented 1 month ago

How are you running Flagsmith

Describe the bug

Google oAuth not work

Steps To Reproduce

volumes: pgdata:

services: postgres: image: postgres:15.5-alpine environment: POSTGRES_PASSWORD: password POSTGRES_DB: flagsmith container_name: flagsmith_postgres volumes:

I followed documents https://docs.flagsmith.com/deployment/hosting/locally-api#environment-variables and configure my Flagsmith for Google oAuth, but I not find buttom for google login. What I am doing wrong?

PS And which Authorized redirect URI for oAuth?

Expected behavior

I see form for google login

Screenshots

Screenshot 2024-07-09 at 17 11 48
rolodato commented 1 month ago

Those environment variables are used to use Google OAuth to log in to Django admin, not to Flagsmith itself. You need to configure the oauth_google Flagsmith on Flagsmith feature flag to log in to Flagsmith using Google: https://docs.flagsmith.com/deployment/overview#oauth_google

I'll close this issue for now, let me know and we can re-open if needed.