Skip to main content

Variable: DEFAULT_OAUTH_LOOPBACK_PATH

const DEFAULT_OAUTH_LOOPBACK_PATH: "/oauth2/callback" = "/oauth2/callback"

Defined in: electron/services/cloud/oauth/LoopbackOAuthServer.ts:29

Default path for all OAuth loopback callbacks.

Remarks

Google’s native/desktop OAuth guidance allows a loopback redirect to include an optional path component (for example /oauth2redirect). We keep a stable path here because some providers (e.g. Dropbox) require an exact redirect URI to be registered.

See

https://developers.google.com/identity/protocols/oauth2/native-app#redirect-uri\_loopback