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

docker - provides a composition to easily test oauth2 & rabbitmq integration #83

Closed
wants to merge 2 commits into from

Conversation

pmauduit
Copy link
Member

@pmauduit pmauduit commented Nov 21, 2023

This introduces a new docker composition, which integrates a RabbitMQ & a geOrchestra CAS configured to be hit via the OpenID connect protocol (OIDC).

CAS is configured to use a new LDAP, based on the geOrchestra LDAP, but where every test* users are removed, and a new testoauth2 user (password identical to the login) is inserted. When clicking on the login button in the header, the user has the possibility to use the regular test* users, then the gateway will directly perform the authentication on the ldap service. A link is made available below the login form to select cas-oauth2 instead. Clicking on it will redirect to the CAS, where the only available user will be testoauth2 (from the ldap2 service).

@pmauduit pmauduit marked this pull request as ready for review January 9, 2024 08:34
@pmauduit
Copy link
Member Author

I don't know if this is due to the CAS6.6 update, but I can't connect using using the login workflow described above.

@pmauduit pmauduit force-pushed the wip-cas-oauth2-provider-rabbitmq branch from 9156690 to 8f5e8a4 Compare June 10, 2024 11:15
@pmauduit pmauduit changed the title docker - provides a composition to easily test oidc & rabbitmq integration docker - provides a composition to easily test oauth2 & rabbitmq integration Jun 10, 2024
@pmauduit
Copy link
Member Author

pmauduit commented Jun 10, 2024

switching back to oauth2.0 instead of oidc (hence the force-push). OIDC seems to have some extra checks which makes it more difficult to use as a protocol for external authentication here (endpoints via https, ...).

@pmauduit
Copy link
Member Author

Wondering if this should go into georchestra/docker instead, or elsewhere ; we had a discussion on having some pre-usable docker composition to "unitary" test the georchestra components without having to launch the whole docker composition.

@f-necas
Copy link
Collaborator

f-necas commented Sep 13, 2024

@pmauduit
Copy link
Member Author

pmauduit commented Sep 13, 2024

https://github.com/georchestra/sample-docker-composition/tree/main/gateway/oidc
Could work

I think keeping this one which does plain oauth2 could be interesting, but maybe not in this repository (but in the other one).

@pmauduit
Copy link
Member Author

I think this can be closed, in favor of having its content copied into the previously mentioned repository.

@pmauduit pmauduit closed this Sep 13, 2024
pmauduit added a commit to georchestra/sample-docker-composition that referenced this pull request Sep 13, 2024
@pmauduit pmauduit deleted the wip-cas-oauth2-provider-rabbitmq branch September 16, 2024 08:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants