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

    How to pass the response_type in the FusionAuthProviderConfig of the react-sdk?

    Scheduled Pinned Locked Moved Unsolved
    Q&A
    2
    2
    697
    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.
    • R
      richard 0
      last edited by

      Dear reader,

      I'm using the example react application from your github repo.
      All works fine.

      Now i'm trying to use my remote hosted instance of FusionAuth and updated the config with my clientId and serverUrl. I also whitelisted localhost:3000 in the admin panel.

      Now when i click login, the login url is "/app/login" instead of "/oauth2/authorize".
      I've added the "loginPath" to the config, which does the job.
      I do wonder why a different loginUrl is generated when i change the clientId.

      But now i'm getting the following error in the url:
      error=invalid_request&error_reason=missing_response_type&error_description=The+request+is+missing+a+required+parameter%3A+response_type

      I can't seem to find a way to add this to the configuration.

      Hope you can help me out here.

      Kind regards,

      RIchard

      A 1 Reply Last reply Reply Quote 0
      • A
        Alex Patterson @richard 0
        last edited by

        @richard-0 do you have a sample repo you could share, or your full config for the SDK?

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

        Looks like your connection to FusionAuth Forum was lost, please wait while we try to reconnect.