Skip to content

Commit 4d51850

Browse files
Database: fix App Check token refresh (#8549)
* Database: fix App Check token refresh * Changelog
1 parent 0c7e658 commit 4d51850

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

FirebaseDatabase/CHANGELOG.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
# v8.7.0
2+
- [fixed] Fixed Firebase App Check token periodic refresh. (#8544)
3+
14
# v8.5.0
25
- [fixed] FirebaseDatabase `getData()` callbacks are now called on the main thread. (#8247)
36

FirebaseDatabase/Sources/Core/FPersistentConnection.m

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1302,7 +1302,7 @@ - (void)refreshAppCheckToken:(NSString *)token {
13021302
}
13031303

13041304
- (void)sendAppCheckToken:(NSString *)token {
1305-
NSDictionary *requestData = @{kFWPRequestAppCheckToken : self.authToken};
1305+
NSDictionary *requestData = @{kFWPRequestAppCheckToken : token};
13061306
[self sendAction:kFWPRequestActionAppCheck
13071307
body:requestData
13081308
sensitive:YES

0 commit comments

Comments
 (0)