fix(mobile): oauth login flow

This commit is contained in:
Alex 2025-03-27 10:41:39 -05:00
parent c26b28f6a4
commit 7fd0b41f30
No known key found for this signature in database
GPG Key ID: 53CD082B3A5E1082

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);