auth0/auth0-vue

Authorization params not working

Opened this issue · 0 comments

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