r/programminghelp • u/bhattimanpreet • Mar 12 '26
Other OAuth failure with WHOOP API — "Session expired" before redirect (via Junction / Vital integration)
Hi all,
We’re running into a strange OAuth issue while integrating WHOOP through Junction (formerly Vital), which handles the OAuth flow, redirect URI, and token exchange on our behalf.
Flow:
Client app → Junction → WHOOP OAuth → consent screen → error → no redirect → no callback
Users successfully reach the WHOOP consent screen, but after approving, they see:
"Session expired – we were not able to process your request"
What makes this tricky:
Junction logs show the callback is never received
The failure happens before redirect back to the registered URI
We do not control the redirect URI (managed by Junction)
Happens across multiple users / devices / days
Users complete the flow immediately (not idle)
Started happening recently in production
Junction suspects the session is expiring on the WHOOP side before the authorization completes, but WHOOP API support hasn’t confirmed yet.
Has anyone seen OAuth providers fail like this before where the consent screen succeeds but the session dies before redirect?
Possible causes we’re considering:
redirect URI mismatch
SameSite / cookie issues
short auth session TTL
provider-side session store issues
recent API / auth changes
Would appreciate any ideas from people who’ve debugged OAuth integrations at scale.