The ultimate Fabric, Power BI, SQL, and AI community-led learning event. Save €200 with code FABCOMM.
Get registeredEnhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.
We provide time validity to a apptoken in "exp" claim.
Now once the time validity is over i.e. the apptoken expires, Iframe shows a message "The content is not availble".
My question is how to find programmatically that the apptoken has expired, so that I can generate new apptoken.
You can send a request that requiring a token and check the reponse code other than 200.