You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
On iOS (and Mac Catalyst), for the authorize() function, all boolean values passed from JS (namely useNonce, usePCKE, and prefersEphemeralSession) are marshalled incorrectly into Objective-C.
The method signatures all specify (Bool *) instead of (Bool) (example), so React Native marshals both true and false (from JS) to NO (Obj-C).
Environment
Your Identity Provider: Not sure, but affects all.
Platform that you're experiencing the issue on: iOS (and Mac Catalyst)
Issue
On iOS (and Mac Catalyst), for the
authorize()
function, all boolean values passed from JS (namelyuseNonce
,usePCKE
, andprefersEphemeralSession
) are marshalled incorrectly into Objective-C.The method signatures all specify
(Bool *)
instead of(Bool)
(example), so React Native marshals bothtrue
andfalse
(from JS) toNO
(Obj-C).Environment
iOS
(andMac Catalyst
)react-native
Version:0.73.1
react-native-app-auth
Version:7.2.0
This was noticed in this issue: #980 (comment)
The text was updated successfully, but these errors were encountered: