coollabsio/coolify · error · Exception

OAuth setting for {provider} not found. It may have been del

Error message

OAuth setting for {provider} not found. It may have been deleted.

What it means

Error "OAuth setting for {provider} not found. It may have been deleted." thrown in coollabsio/coolify.

Source

Thrown at app/Livewire/SettingsOauth.php:57

                'client_id' => $setting->client_id,
                'client_secret' => $setting->client_secret,
                'redirect_uri' => $setting->redirect_uri,
                'tenant' => $setting->tenant,
                'base_url' => $setting->base_url,
            ];

            return $carry;
        }, []);
    }

    private function updateOauthSettings(?string $provider = null)
    {
        if ($provider) {
            $oauthData = $this->oauth_settings_map[$provider];
            $oauth = OauthSetting::find($oauthData['id']);

            if (! $oauth) {
                throw new \Exception('OAuth setting for '.$provider.' not found. It may have been deleted.');
            }

            $oauth->fill([
                'enabled' => $oauthData['enabled'],
                'client_id' => $oauthData['client_id'],
                'client_secret' => $oauthData['client_secret'],
                'redirect_uri' => $oauthData['redirect_uri'],
                'tenant' => $oauthData['tenant'],
                'base_url' => $oauthData['base_url'],
            ]);

            if ($oauthData['enabled'] && ! $oauth->couldBeEnabled()) {
                $oauth->update(['enabled' => false]);
                throw new \Exception('OAuth settings are not complete for '.$oauth->provider.'.<br/>Please fill in all required fields.');
            }
            $oauth->save();

            // Update the array with fresh data

View on GitHub (pinned to 70b9acc424)

When it happens

Trigger: Thrown at app/Livewire/SettingsOauth.php:57 when the library encounters an invalid state.

Common situations: See trigger scenarios.


AI-assisted analysis of coollabsio/coolify@70b9acc424 (2026-08-17). Data as JSON: /api/errors/883ca7250307222d. Report an issue: GitHub.