fix(mobile): oauth login flow

This commit is contained in:
Alex
2025-03-27 10:41:39 -05:00
parent c26b28f6a4
commit 7fd0b41f30

View File

@@ -210,6 +210,9 @@ class LoginForm extends HookConsumerWidget {
.getOAuthServerUrl(sanitizeUrl(serverEndpointController.text));
isLoading.value = true;
// Invalidate all api repository provider instance to take into account new access token
invalidateAllApiRepositoryProviders(ref);
} catch (error, stack) {
log.severe('Error getting OAuth server Url: $error', stack);