Skip to content

Commit

Permalink
change mosquitto oauth config according to recent changes
Browse files Browse the repository at this point in the history
  • Loading branch information
emschu committed Dec 21, 2021
1 parent ca14ce4 commit d4e808a
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions mosquitto/mosquitto-go-auth.conf
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ auth_plugin /mosquitto/go-auth.so
# For Windows, uncomment this line:
#auth_opt_jwt_host host.docker.internal
# For Linux, uncomment this line:
auth_opt_jwt_host localhost
auth_opt_jwt_host mbp

# Set the log level for the auth plugin. Valid values are: debug, info, warn, error, fatal and panic. Default value is info.
auth_opt_log_level debug
Expand All @@ -32,13 +32,13 @@ auth_opt_jwt_remote true
auth_opt_jwt_port 8080

# Enter the URL of the authorization server to check if the user/client can be authenticated as a normal user, only change here if it is also changed in the MBP backend!
auth_opt_jwt_getuser_uri /MBP/api/checkOauthTokenUser
auth_opt_jwt_getuser_uri /mbp/api/checkOauthTokenUser

# Enter the URL of the authorization server to check if the user/client can be authenticated as a superuser, only change here if it is also changed in the MBP backend!
auth_opt_jwt_superuser_uri /MBP/api/checkOauthTokenSuperuser
auth_opt_jwt_superuser_uri /mbp/api/checkOauthTokenSuperuser

# Enter the URL of the authorization server to check the authorisation of a user/client for publish/subscribe, only change here if it is also changed in the MBP backend!
auth_opt_jwt_aclcheck_uri /MBP/api/checkOauthTokenAcl
auth_opt_jwt_aclcheck_uri /mbp/api/checkOauthTokenAcl

# Set the response mode: see https://github.com/iegomez/mosquitto-go-auth#remote-mode for the different options
auth_opt_jwt_response_mode status
Expand Down

0 comments on commit d4e808a

Please sign in to comment.