I am trying to use AAD for login in my mobile app and it's working fine. But after some time like 1 hrs token expired, so I try to refresh, but I always got expired token in response,
If I logout and login then all working fine as per flow.
So not sure like where getting an issue....
I am using the https://pub.dev/packages/aad_oauth plugin for that as of now.
But for alternative I tried with https://pub.dev/packages/flutter_aad_oauth but into that, getting issue into the redirect URL so not spent more time figuring out.
Then after I found some good link for that https://www.hasaltaiar.com.au/how-to-best-handle-aad-access-tokens-in-native-mobile-apps/
but not sure how to use into Flutter without plugin
Has anyone here had experience with this or have any idea of how to get around this problem?