Open Refaydeen opened 11 months ago
you can fetch it after a successful auth:
final result = await authenticator.login(refreshIfAvailable: true);
result.fold(
(failure) => throw Exception(failure.message),
(token) => token.refreshToken
);
the code above you mentioned will work on web also right? and can we give my credentials in my login and authenticate through microsoft is that possiible
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. If you still think this issue is needed, reopen it again.
I'm having a similar issue where the authentication flow is only returning an object with the accessToken, and the refreshToken call is returning a 'null' value. I have already included the 'offline_access' scope in my request. Is there any update regarding this problem?
@ariaguirre have you got the solution i am facing same problem.
I am getting null in refresh token always
you can fetch it after a successful auth:
final result = await authenticator.login(refreshIfAvailable: true); result.fold( (failure) => throw Exception(failure.message), (token) => token.refreshToken );
How does this differ from the built in function of refreshToken()
?
Hi any update on this?
Hi any update on this?
Nope, haven't heard since but maybe looking into the codebase would answer that question. Just haven't gotten around to it yet.
How to get refresh token ,can we do a sso in Microsoft through this package,is that possible