Skip to content

Commit 755587f

Browse files
author
Kadi Kraman
committed
Add the missing parameters to iOS tokenResponse
1 parent f6bc509 commit 755587f

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

ios/RNAppAuth.m

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -120,6 +120,9 @@ - (dispatch_queue_t)methodQueue
120120
@"accessToken": response.accessToken ? response.accessToken : @"",
121121
@"refreshToken": response.refreshToken ? response.refreshToken : @"",
122122
@"accessTokenExpirationDate": exporationDateString,
123+
@"tokenType": response.tokenType ? response.tokenType : @"",
124+
@"idToken": response.idToken ? response.idToken : @"",
125+
@"additionalParameters": response.additionalParameters,
123126
});
124127
} else {
125128
reject(@"RNAppAuth Error", [error localizedDescription], error);

0 commit comments

Comments
 (0)