Google & GitHub OAuth toggles turn off automatically in Plane (self-hosted)

I’ve configured Google OAuth in Plane’s god-mode settings, but I’m unable to enable it.

Whenever I toggle the Google authentication switch ON, it immediately turns OFF again. As a result, Google login does not appear on the login page. The same issue occurs with GitHub OAuth.

Configuration shows “Success – Configuration saved successfully,” but the toggle does not stay enabled.

Setup details:

  • Plane (self-hosted)
  • OAuth credentials configured (Client ID & Secret)
  • Issue affects both Google and GitHub providers

Expected behavior:
OAuth providers should stay enabled and appear on the login page.

Actual behavior:
Toggle turns OFF automatically; providers are not visible on login.

Any help or pointers would be appreciated.

Hi @dixitram, which version of Plane are you using also can you please share the network logs when enabling the auth option.

I was just exploring how to self-host and discussing whether Plane meets our requirements. However, they have very niche, specific requirements related to our organization, now we are planning to make our own. Because of that, I’m no longer actively working on it — but let me share the cURL request and response for reference.

I’m using the Community Edition and testing on localhost.


Request

curl 'http://localhost:8080/api/instances/configurations/' \
  -X 'PATCH' \
  -H 'Accept: application/json, text/plain, */*' \
  -H 'Accept-Language: en-US,en;q=0.9' \
  -H 'Connection: keep-alive' \
  -H 'Content-Type: application/json' \
  -b 'refresh_token=......; session-id=....; csrftoken=....; admin-session-id=....' \
  -H 'Origin: http://localhost:8080' \
  -H 'Referer: http://localhost:8080/god-mode/authentication/' \
  -H 'Sec-Fetch-Dest: empty' \
  -H 'Sec-Fetch-Mode: cors' \
  -H 'Sec-Fetch-Site: same-origin' \
  -H 'Sec-GPC: 1' \
  -H 'User-Agent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/146.0.0.0 Safari/537.36' \
  -H 'sec-ch-ua: "Chromium";v="146", "Not-A.Brand";v="24", "Brave";v="146"' \
  -H 'sec-ch-ua-mobile: ?0' \
  -H 'sec-ch-ua-platform: "Linux"' \
  --data-raw '{"IS_GOOGLE_ENABLED":"1"}'

Response

[]

@dixitram, did you use the self hosted setup or the local setup for deployment?

I used the GitHub install setup.sh script on my local PC, not on any web service host like Render or so…