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
In the ExchangeNativeSocialOptions, userProfile is typed as `object see here
However, when I pass in an object into it, the SDK accepts it, however I get the following error within auth0:
user_profile must be an object encoded as a JSON string
I was using an older version of the library, where I was passing a JSON.stringified object into the userProfile parameter. Upgrading the SDK and passing in an object resulting in an error.
Is there a setting within Auth0 that I need to modify? or is this type sometime inconsistent with auth0?
Reproduction
Use the latest version of the SDK (v3.x.x)
Pass in an object into the optional userProfile as per this test
Checklist
Description
In the
ExchangeNativeSocialOptions
,userProfile
is typed as `object see hereHowever, when I pass in an object into it, the SDK accepts it, however I get the following error within auth0:
I was using an older version of the library, where I was passing a JSON.stringified object into the
userProfile
parameter. Upgrading the SDK and passing in an object resulting in an error.Is there a setting within Auth0 that I need to modify? or is this type sometime inconsistent with auth0?
Reproduction
Use the latest version of the SDK (v3.x.x)
Pass in an object into the optional
userProfile
as per this testeg:
Additional context
No response
react-native-auth0 version
^3.1.0
React Native version
^0.72.6
Expo version
No response
Platform
iOS
Platform version(s)
18
The text was updated successfully, but these errors were encountered: