We want to continuously get a new Access Token. Currently our token expires after 4 days. So client gets prompted on day 1 for credentials, day 2 3 4 we do AquireTokenSilentAsync()
.
Each time that is called we do not get a new access token
.
Day 5 comes around and the user needs to reenter credentials.
I don't like this. The user was on and logged in less than 24hrs ago and they need to reenter their credentials.
What we want:
Day 1 enter credentials
Day 2 call AquireTokenSilentAsync()
with
access token
and
get a New Access Token that expires 4 days from now.
Is this possible?