-
Notifications
You must be signed in to change notification settings - Fork 47
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
How to set auth-http plugin header in docker container? #190
Comments
You can reference document here:https://github.com/emqx/emqx-rel/tree/master/deploy/docker, also same issue here:#204 (comment). |
I am facing the same issue. Were you able to solve it @jayaraj ? I am using the docker image emqx/emqx:v4.2.9, I have tried to pass it as the following env var, but no luck: EMQX_AUTH__HTTP__HEADER__AUTHORIZATION = "text" The broker logs while starting up shows that it's not recognizing it
I've tried the above because it's what is determined in the plugin conf file: https://github.com/emqx/emqx-auth-http/blob/master/etc/emqx_auth_http.conf#L156-L162 and in the doc for this version : https://docs.emqx.io/en/broker/v4.2/advanced/auth-http.html#http-request-information
|
I am not able to pass auth.http.header.Authorization from Docker environment variables. Is there any other method to specify the parameters
The text was updated successfully, but these errors were encountered: