I'm using AAD to lock down my azure web app and api. I am calling /.auth/me to retrieve the authenticated user's tokens, and then using the id_token to authenticate the user to the api. The id_token expires in 1 hour, which should be fine as you can call /.auth/refresh to get new tokens. Issue is that "refresh" only seems to refresh access_token and refresh_token, not id_token. Only way I can get a new id_token is if i open a fresh incognito and re-authenticate.
Any ideas on this? id_token is acceptable to lock down an api, no? access_token doesn't have claims on it so i'm interested in using id_token.