Ensures a non-expired ID token is available before calling the credentials API. Refreshes the session when the stored ID token is expired or undecodable.
When the ID token is missing or session refresh fails.
Ensures a non-expired ID token is available before calling the credentials API. Refreshes the session when the stored ID token is expired or undecodable.