You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
test: verify eager refresh is skipped when oauth_metadata is None
Regression test for #3240. When oauth_metadata is None (metadata not yet
discovered), the eager refresh at the top of async_auth_flow must be skipped
to avoid hitting the wrong token endpoint (urljoin strips non-root paths).
The test sets up expired tokens + refresh_token but no oauth_metadata, then
verifies the first yield is the original request (not a refresh request) and
the tokens are preserved for the 401→discovery→refresh path.
0 commit comments