Redirect to Google OAuth
Generate a Google OAuth URL for redirect-based authentication.
fluid_shop is optional. When supplied it is placed in the OAuth state
(alongside a server-issued nonce, cached for replay rejection) so the
callback can resolve the company; Google returns to a bare redirect URI, so
omitting it makes the callback fall back to the default shop.
Query Parameters
Company subdomain the sign-in belongs to. When present it is carried through the OAuth round-trip in state.
Response
Google OAuth URL
OAuth provider URL for redirect-based authentication
Provider key this URL belongs to (e.g. google, facebook, apple).
Fully-formed provider authorization URL to redirect the user to; carries the server-issued OAuth state.
Callback URI the provider returns to after the user authorizes; must match the value registered with the provider.