I have done the AAD integration to the app (I can login to the app using Azure Active directory accounts).
App is Asp.Net web form Application.
As you know, the token received as a result of login to AAD is valid only for about an hour, which is not long enough.
What I need is to ‘Refresh the Token’ before it expires. This would allow the users to complete their work without being promoted to login again.
The main issue is when the user is working on a popup form and just before he/she hits the ‘Save’ button, the token expires and then the only option (As of now) available is to lose the changes and refresh the page for the login to AAD. What would be best is the keep refreshing the token in the background (Just before access token expiry) to avoid being prompted to AAD login.
Please write main code on top of the bid.
9 pekerja bebas membida secara purata $189 untuk pekerjaan ini
Hi, I have an experience with AAD and authenticate user by AAD, also worked on refresh token and to get the new access token. Please let me know if I can help you. Thanks.