AzureAD / microsoft-authentication-library-for-objc

Microsoft Authentication Library (MSAL) for iOS and macOS
http://aka.ms/aadv2
MIT License
262 stars 142 forks source link

ID Token returned by acquire token silent is expired #2353

Open macdrevx opened 2 weeks ago

macdrevx commented 2 weeks ago

We're seeing expired ID tokens returned from -[MSALPublicClientApplication acquireTokenSilentWithParameters:completionBlock:] even when specifying forceRefresh = YES in the parameters.

Seems to correspond to situations where the ID token expiration is ~30 min earlier than the access token expiration.

We're on v1.3.0.

I'm upgrading to the latest to see if that helps, but wanted to check to see if this is a known issue.

macdrevx commented 6 days ago

Still seeing this behavior as of v1.5.1. @fidelianawar any guidance to offer?

macdrevx commented 5 days ago

I'm updating to v1.6.0 to see if #2346 helps