Could you share a procedure to reproduce? (RabbitMQ configuration, a
long-lived Keycloak token that we could use to test, some curl
requests). Please also provide the RabbitMQ and Erlang versions you're
using.
Note Keycloak is supported with permissions in the authorization field
(see [1]).
[1]
https://github.com/rabbitmq/rabbitmq-auth-backend-oauth2/issues/37
On Tue, Dec 17, 2019 at 8:56 AM Jiahang Chen <
janni...@gmail.com> wrote:
>
> Hi,
>
> i need to quick enable JWT to authenticate users by rabbtitmq server.
>
> I get id token (jwt) from keycloak and can i just add the token into headers like headers = {{'Content-Type': 'application/json', "authorization":"Bearer " + <TOKEN>}
> and then use the http api
>
> response = requests.get(url = "
http://localhost:15672/api/users", headers = headers}
>
>
> how should i set up the config file? From
https://www.rabbitmq.com/management.html i should set management.disable_basic_auth to true, so i just add {disable_basic_auth, true}, to config file. but it seems not working
>
> Pls let me know what should i do.
>
>
>
>
>
>
>
> Regards
>
> --
> You received this message because you are subscribed to the Google Groups "rabbitmq-users" group.
> To unsubscribe from this group and stop receiving emails from it, send an email to
rabbitmq-user...@googlegroups.com.
> To view this discussion on the web, visit
https://groups.google.com/d/msgid/rabbitmq-users/f8becc2e-baf4-4a14-8db1-2f2737d91a18%40googlegroups.com.