hello ! in local development with docker i tried t...
# help
s
hello ! in local development with docker i tried to use google auth. i added this variables to my
.env
Copy code
GOTRUE_EXTERNAL_GOOGLE_ENABLED=true
GOTRUE_EXTERNAL_GOOGLE_CLIENT_ID=my_client_id
GOTRUE_EXTERNAL_GOOGLE_SECRET=my_secret
GOTRUE_EXTERNAL_GOOGLE_REDIRECT_URI=my_redirect_uri
i restarted the containers and tried to open this URL:
Copy code
http://localhost:8000/auth/v1/authorize?provider=google&redirect_to=
and got this:
Copy code
{
  "code": 400,
  "msg": "Unsupported provider: Provider is not enabled"
}
can you help me, i think i'm missing something
n
Hello @Shoki! This thread has been automatically created from your message in #843999948717555735 a few seconds ago. We have already mentioned the @User so that they can see your message and help you as soon as possible! Want to unsubscribe from this thread? Right-click the thread in Discord (or use the ``...`` menu) and select "Leave Thread" to unsubscribe from future updates. Want to change the title? Use the ``/title`` command! We have solved your problem? Click the button below to archive it.
s
You need to modify the
docker-compose.yml
too, you need to add these env variables to the
auth/environment
section.
n
Thread was archived by @Shoki. Anyone can send a message to unarchive it.