How to inspect a refresh token obtained from Azure in a code grant flow?

Viewed 391

I successfully implemented the code grant flow against Azure AAD according to this document Now I want to fiddle with the expiration of the refresh token I obtain.

The default expiration is 90 days and I want to lower it to 7. I want to verify that I succeeded without having to wait 7 days. The expriation of the refresh token is not returned in the API and I am unable to decode it as a JWT token (is it even a JWT?).

Any suggestions?

1 Answers
Related