Checklist
Description
The Omniauth Auth0 gem is not compatible with Auth0's custom query parameters
There's documentation on passing query parameters with an ext prefix - https://auth0.com/docs/customize/login-pages/universal-login/customize-templates#custom-query-parameters
You can also use query parameters within the context by passing them to the /authorize endpoint when initiating the authentication request. These custom query parameters must have the ext- prefix.
However these are the only parameters passed directly to /authorize
https://github.com/auth0/omniauth-auth0/blob/9410989f01ecba40f8dd823847bacc66222b7b27/lib/omniauth/strategies/auth0.rb#L87-L89on
It looks like someone started this work in #204 - is there a reason why the team has not added this feature?
Reproduction
- Using the auth0 omniauth redirect send a parameter with the ext prefix (ex:
ext-test)
- The redirect to
/authorize will only include that parameter nested in the redirect_uri parameter
Additional context
No response
omniauth-auth0 version
3.1.1
OmniAuth version
2.1.4
Ruby version
3.4.7
Checklist
Description
The Omniauth Auth0 gem is not compatible with Auth0's custom query parameters
There's documentation on passing query parameters with an
extprefix - https://auth0.com/docs/customize/login-pages/universal-login/customize-templates#custom-query-parametersHowever these are the only parameters passed directly to
/authorizehttps://github.com/auth0/omniauth-auth0/blob/9410989f01ecba40f8dd823847bacc66222b7b27/lib/omniauth/strategies/auth0.rb#L87-L89on
It looks like someone started this work in #204 - is there a reason why the team has not added this feature?
Reproduction
ext-test)/authorizewill only include that parameter nested in theredirect_uriparameterAdditional context
No response
omniauth-auth0 version
3.1.1
OmniAuth version
2.1.4
Ruby version
3.4.7