Warning: file_get_contents(/data/phpspider/zhask/data//catemap/0/react-native/7.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
React native 在React Native中使用FusionAuth_React Native_Oauth 2.0_Fusionauth - Fatal编程技术网

React native 在React Native中使用FusionAuth

React native 在React Native中使用FusionAuth,react-native,oauth-2.0,fusionauth,React Native,Oauth 2.0,Fusionauth,在React Native中使用FusionAuth 我跟随博客在本地建立了FusionAuth。 但我在这方面面临两个问题 我需要在react native app auth配置对象中传递客户机密码,但根据上面的博客,如果没有传递客户机密码,它将起作用。但我的情况不是这样。如果我没有传递客户机密,那么我会得到这个错误 我无法清除react native app auth启动的webview中的会话。e、 g.当使用react native app auth使用Azur AD B2C实现

在React Native中使用FusionAuth

我跟随博客在本地建立了FusionAuth。 但我在这方面面临两个问题

  • 我需要在react native app auth配置对象中传递客户机密码,但根据上面的博客,如果没有传递客户机密码,它将起作用。但我的情况不是这样。如果我没有传递客户机密,那么我会得到这个错误

  • 我无法清除react native app auth启动的webview中的会话。e、 g.当使用react native app auth使用Azur AD B2C实现SSO时,我们可以在config对象中添加以下参数
它总是提示用户登录。但是在FusionAuth的情况下,它不会接受提示:“login”参数并在webview中维护会话

如何解决上述问题

additionalParameters: {
             prompt: 'login', 
        },