IdentityPython / SATOSA

Proxy translating between different authentication protocols (SAML2, OpenID Connect and OAuth2)
https://idpy.org
Apache License 2.0
197 stars 121 forks source link

Support paths in BASE during routing #451

Open bajnokk opened 8 months ago

bajnokk commented 8 months ago

This is a squashed and slightly polished variant of #405 . Original description follows:

If Satosa is installed under a path which is not the root of the webserver (ie. "https://example.com/satosa"), then endpoint routing must take the base path into consideration.

Some modules registered some of their endpoints with the base path included, but other times the base path was omitted, thus it made the routing fail. Now all endpoint registrations include the base path in their endpoint map.

Additionally, DEBUG logging was configured for the tests so that the debug logs are accessible during testing.

Fixes #404