Skip to content
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

rabbitmq.conf need to be fixed to use https instead of http for auth_oauth2.issuer parameter #39

Open
jav-12 opened this issue Oct 10, 2024 · 4 comments
Labels
bug Something isn't working

Comments

@jav-12
Copy link

jav-12 commented Oct 10, 2024

Describe the bug

Testing this scenario: https://www.rabbitmq.com/docs/oauth2-examples-proxy produces that rabbitmq container doesn't boot up:

2024-10-10 15:03:13.181787+00:00 [error] <0.156.0> auth_oauth2.issuer invalid, According to the JWT Specification, Key Server URL must be https. 2024-10-10 15:03:13.185982+00:00 [error] <0.156.0> Error preparing configuration in phase validation: 2024-10-10 15:03:13.186080+00:00 [error] <0.156.0> - auth_oauth2.issuer invalid, According to the JWT Specification, Key Server URL must be https.

Reproduction steps

As described in the tutorial:

export MODE=oauth2-proxy
make start-rabbitmq

Expected behavior

rabbitmq container should boot up.

Additional context

No response

@jav-12 jav-12 added the bug Something isn't working label Oct 10, 2024
@MarcialRosales
Copy link
Contributor

Thanks @jav-12 for reporting this issue.

@MarcialRosales
Copy link
Contributor

@jav-12 Could you please check the oauth2-proxy example is working? It is now merged to main and the docs (https://www.rabbitmq.com/docs/oauth2-examples-proxy).

There is also a minor issue I opened last week should you face it. it is related to logging out from the management when using idp-initiated login like this one with oauth2-proxy.

@jav-12
Copy link
Author

jav-12 commented Oct 22, 2024

@MarcialRosales Everything worked as expected. Logout has a bug as you already mentioned.

Thanks for your support!

@jav-12
Copy link
Author

jav-12 commented Oct 30, 2024

By the way, I just tested the whole tutorial using Keycloak:26.0 with no issues. I just got this warning in the Keycloak UI but apart from that, everything seems to be working as expected:

Screenshot 2024-10-30 at 11 47 26

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants