Skip to content

Commit

Permalink
Support bound code and tokens on ios
Browse files Browse the repository at this point in the history
  • Loading branch information
daniellindau committed Mar 7, 2024
1 parent 3328650 commit 08519f9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ios/HaapiModule/HaapiModule.swift
Original file line number Diff line number Diff line change
Expand Up @@ -242,7 +242,7 @@ class HaapiModule: RCTEventEmitter {
}

private func handle(codeStep: OAuthAuthorizationResponseStep, promise: Promise) {
oauthTokenManager?.fetchAccessToken(with: codeStep.oauthAuthorizationResponseProperties.code!, completionHandler: { tokenResponse in
oauthTokenManager?.fetchAccessToken(with: codeStep.oauthAuthorizationResponseProperties.code!, dpop: haapiManager?.dpop, completionHandler: { tokenResponse in
self.handle(tokenResponse: tokenResponse, promise: promise)
})
}
Expand Down

0 comments on commit 08519f9

Please sign in to comment.