Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Missing response_type parameter in loginUrl in React-SDK #159

Open
eduardosoller opened this issue Sep 3, 2024 · 2 comments
Open

Missing response_type parameter in loginUrl in React-SDK #159

eduardosoller opened this issue Sep 3, 2024 · 2 comments
Labels
general issue not necessarily an observable bug, but needs change

Comments

@eduardosoller
Copy link

I've added the "loginPath" to my config like this:
loginPath: "/oauth2/authorize/",

But 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.

@eduardosoller eduardosoller added the general issue not necessarily an observable bug, but needs change label Sep 3, 2024
@sareh
Copy link

sareh commented Nov 11, 2024

Having the same issue with the Vue SDK.

We'd like to have an additional field on the FusionAuthConfig type:

responseType: ResponseType,

where we can pass the value 'code' for the OAuth configuration. See reference here: https://fusionauth.io/docs/lifecycle/authenticate-users/oauth/endpoints

@sareh
Copy link

sareh commented Nov 11, 2024

It seems like this open PR may fix the issue: #171

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
general issue not necessarily an observable bug, but needs change
Projects
None yet
Development

No branches or pull requests

2 participants