mvertopoulos / vue-msal

Vue plugin for using Microsoft Authentication Library (MSAL)
MIT License
123 stars 66 forks source link

Fix "onToken" not called if no idToken found in cache #50

Open alpox opened 3 years ago

alpox commented 3 years ago

This fixes an issue where "onToken" is not called at all due to an error when trying to access response.idToken.rawidToken if no idToken was delivered in the response - in our case from the cache.

edanweis commented 2 years ago

Fix "onToken" not called if no idToken found in cache