auth0 / auth0-vue

Auth0 authentication SDK for Vue.js apps
Other
140 stars 27 forks source link

Authorization params not working #415

Open ferrantedev opened 4 months ago

ferrantedev commented 4 months ago

Checklist

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