How to pass the response_type in the FusionAuthProviderConfig of the react-sdk?
-
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_typeI can't seem to find a way to add this to the configuration.
Hope you can help me out here.
Kind regards,
RIchard
-
@richard-0 do you have a sample repo you could share, or your full config for the SDK?