FusionAuth
    • Home
    • Categories
    • Recent
    • Popular
    • Pricing
    • Contact us
    • Docs
    • Login

    Using FusionAuth In React Native

    Scheduled Pinned Locked Moved
    Q&A
    0
    2
    506
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • D
      developer
      last edited by

      Using FusionAuth In React Native

      I have followed this blog to set up FusionAuth on React Native side.
      But I'm facing two problems in this.

      • I need to pass client secret in react-native-app-auth configuration object but according to the above blog, it will work if no client secret passed. But it's not happening in my case. If I'm not passing client secret then I’m getting this error

      Screenshot 2021-04-26 at 2.png

      • I'm not able to clear the session in the webview launched by react-native-app-auth. e.g. when implementing SSO with Azur AD B2C using react-native-app-auth we can add the following parameter in the config object
      additionalParameters: {
             		 prompt: 'login', 
            	},
      

      It always prompts the user to log in. But in the case of FusionAuth it's not taking that prompt: "login" parameter and maintains session in the webview.

      How can I resolve the above issues?.

      1 Reply Last reply Reply Quote 0
      • danD
        dan
        last edited by

        Did you ever find a solution @developer ?

        For the first issue, did you turn off client authentication in the FusionAuth application OAuth tab?

        --
        FusionAuth - Auth for devs, built by devs.
        https://fusionauth.io

        1 Reply Last reply Reply Quote 0
        • First post
          Last post