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

Authorization params not working #415

Open
6 tasks done
ferrantedev opened this issue Jul 17, 2024 · 0 comments
Open
6 tasks done

Authorization params not working #415

ferrantedev opened this issue Jul 17, 2024 · 0 comments
Labels
bug This points to a verified bug in the code

Comments

@ferrantedev
Copy link

Checklist

  • The issue can be reproduced in the auth0-vue sample app (or N/A).
  • I have looked into the Readme, Examples, and FAQ and have not found a suitable solution or answer.
  • I have looked into the API documentation and have not found a suitable solution or answer.
  • I have searched the issues and have not found a suitable solution or answer.
  • I have searched the Auth0 Community forums and have not found a suitable solution or answer.
  • I agree to the terms within the Auth0 Code of Conduct.

Description

Custom authorizationParams are not taken into account

Reproduction

Define a custom authorizationParam, for example attempting to target a custom config_id, in order to target a specific Facebook Business Login configuration:
app.use( createAuth0({ domain: authConfig.domain, clientId: authConfig.clientId, authorizationParams: { config_id: '12345' } }) )

Final oauth url does not contain the custom authorization param as it's filtered out.

Additional context

The same issue happens when supplying the authorizationParams to loginWithRedirect and loginWithPopup

auth0-vue version

2.3.3

Vue version

3

Which browsers have you tested in?

Firefox

@ferrantedev ferrantedev added the bug This points to a verified bug in the code label Jul 17, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug This points to a verified bug in the code
Projects
None yet
Development

No branches or pull requests

1 participant