In a discussion about adding custom parameters to the OpenID Connect authorize endpoint in Discourse, nodomain reports that their Auth0 setup requires adding connection=123, but the openid_connect_authorize_parameters setting doesn’t seem to pass the parameter to the request. sam clarifies that the field is meant to allowlist parameters, not hardcode them, and suggests verifying via browser dev tools whether the parameter appears in request params. If hardcoding is needed, a new feature would be required. nodomain confirms the parameters aren’t being added at all. Alexander mentions manually editing the authorize_url worked for them, but nodomain questions how that’s possible since the plugin only accepts a discovery document and doesn’t expose direct URL editing. Ultimately, nodomain resolves the issue by switching to the Oauth2 Basic plugin, which better supports their use case.
Our Auth0 setup requires to add connection=123 to the authorize endpoint. I tried several combinations of openid connect authorize parameters without success.
So either please give me a working example or fix the bug - I have the impression that the given parameters are not routed through to the authorize request at all.
Looking at the code it looks like it needs to be in request params.
Try using chrome dev tools, track all HTTP requests, are you certain this allow listed param is in the request params? This is just used to allow list stuff, not to hardcode a value.
If you need to hardcode a value a new feature would need to be built.