Hi @Abhay Chandramouli ,
Thanks for reaching out.
Authorization code are very short lived. Typically, they expire after 10 minutes. You can use them to redeem the token from token endpoint only once.
Once you get the token, next time you will get the below error when trying to redeem the token from same authorization code:
"AADSTS54005: OAuth2 Authorization code was already redeemed, please retry with a new valid code or use an existing refresh token"
Hope this will help.
Thanks,
Shweta
------------------------------------
Please remember to "Accept Answer" if answer helped you.