Closed julius-kamp closed 4 years ago
The problem was that access tokens was not selected on the Microsoft App registration page. Apparently it is necessary to select both access tokens and id tokens, even if you are only interested in the id token. The relevant settings are on App registration > Authentication page on the middle of the page.
Expected Behavior
The idToken property of both $msal.data and the msal mixin's data object should both be the correct id token.
Current Behavior
The idToken property of both $msal.data and the msal mixin's data object are both an empty string. However the id token is present in the browses local storage.
Steps to Reproduce
Context
I would like to use the id token as verification for connecting to my api. I do not want to get it directly out of the local storage, as the key name seams to be not consistent.