Start Login Flow
Authentication
Start Login Flow
Starts browser sign-in by redirecting to the hosted authorization page. Stores the optional returnTo destination in a temporary login-state cookie; after successful sign-in, the browser returns there or to /.
GET
Start Login Flow
Query Parameters
Destination after authentication or local logout: a path starting with / or an absolute URL on an allowed origin. Empty values are treated as omitted; the local fallback is /. External logout destinations must also be registered as sign-out redirects.
Response
Redirect to the WorkOS authorization URL.