Skip to content

Commit 2787690

Browse files
committed
Save account after authorization
1 parent b64b8c4 commit 2787690

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

ios/OAuthManager/OAuthManager.m

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -344,6 +344,7 @@ - (NSDictionary *) getConfigForProvider:(NSString *)name
344344
NSDictionary *accountResponse = [manager getAccountResponse:account cfg:cfg];
345345
_pendingAuthentication = NO;
346346
[manager removePending:client];
347+
[[manager accountStore] saveAccount:account]; // <~
347348

348349
callback(@[[NSNull null], @{
349350
@"status": @"ok",

0 commit comments

Comments
 (0)