Welcome to the Kinde community.

P
K
A
A
A
Members
Claire_Kinde
C
Claire_Kinde
Offline, last seen 7 hours ago
Joined September 23, 2024
Copied from #💬┃general channel - a question from @jasdeep

Hi all, newbie here and building a flutter app using Kinde Auth. I am trying to understand how this works. As per docks Kinde SDK take care of fetching new token automatically under the hood if refresh token is valid and access_token has expired. I am assuming it is happening while user is very much active on the app. I am wondering how does SDK get access to refreshToekn in scenario when user navigates away from the app and puts the app in background and when app comes back into focus, the access_token has expired but refresh token should still be valid. I understand that I can save access_token and refreshToken in secure storage but I don't see any method available on SDK which makes use of refresh token to fetch new access_token. Am I missing something here?
1 comment
O