Skip to content

Commit cc393b2

Browse files
fix(mobile): oauth-mobile-first-login (#17173)
invalidate ref Co-authored-by: Alex <[email protected]>
1 parent 6341962 commit cc393b2

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

mobile/lib/widgets/forms/login/login_form.dart

+3
Original file line numberDiff line numberDiff line change
@@ -210,6 +210,9 @@ class LoginForm extends HookConsumerWidget {
210210
.getOAuthServerUrl(sanitizeUrl(serverEndpointController.text));
211211

212212
isLoading.value = true;
213+
214+
// Invalidate all api repository provider instance to take into account new access token
215+
invalidateAllApiRepositoryProviders(ref);
213216
} catch (error, stack) {
214217
log.severe('Error getting OAuth server Url: $error', stack);
215218

0 commit comments

Comments
 (0)