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

Recipient endpoint not updated when specifying port 8081 in docker-compose #94

Open
CR4YZ3R opened this issue Jan 29, 2025 · 1 comment

Comments

@CR4YZ3R
Copy link

CR4YZ3R commented Jan 29, 2025

First of all thank you for the great mock!

When using this configuration in a docker-compose file

 mujina:
   image: ghcr.io/openconext/mujina/mujina-idp:sha-abedf68
   environment:
     - SERVER_PORT=8081
   ports:
     - 8081:8081

the following error occurs when trying to access the SSO via http://localhost:8081/SingleSignOnService:

SAML message intended destination endpoint 'http://localhost:8081/SingleSignOnService' did not match the recipient endpoint 'http://localhost:8080/SingleSignOnService'

My application uses fastapi as a backend running on port 8080. When sending the request to a fastapi endpoint /SingleSignOnService on port 8080 and redirecting it to localhost:8081 it however does not throw the error mentioned above. That's why I suppose that there might be an issue related to the idp mock. However I am not too familiar with this mock yet, so it might also be a silly mistake on my end ;)

Regards,
Chris

@CR4YZ3R
Copy link
Author

CR4YZ3R commented Jan 31, 2025

In order to temporarily get it to work, adding - idp.base_url=http://localhost:8081 can be added to the environment part.

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

No branches or pull requests

1 participant