Closed guhcostan-tw closed 2 weeks ago
@poovamraj Can you help me with this? I need to use SFSafariViewController
@guhcostan-tw thanks for raising this. We have not supported this unfortunately due to restricts on Apple side as mentioned here. I will let our iOS expert @Widcket answer this one if this is still required.
Hi @guhcostan-tw,
Unfortunately, nothing can done from our side to solve this issue completely, as this is due to the limitation from Apple to always use SFSafariViewController
in a visible way to the user. But however we can have a workaround to clear
the credentials when user logsouts and pass parameter 'prompt' : 'login'
to the login method as shown here
However the preferred and recommended way by Apple to use for WebAuth purposes is ASWebAuthenticationSession
which is the default user agent when you use RN SDK.
Closing this issue as there isn't any activity, but feel free to open this again, if you need more information.
Checklist
Description
I updated the library and used SFSafariViewController, but when logout the user was still logged in to SFSafariViewController, I need the useSFSafariViewController option when logout too.
Reproduction
1 - Login 2 - Logout 3 - Use an SSO page
Additional context
No response
react-native-auth0 version
v3.1.0
React Native version
0.71.14
Expo version
No response
Platform
iOS
Platform version(s)
8+