SATOSA icon indicating copy to clipboard operation
SATOSA copied to clipboard

Support paths in BASE during routing

Open bajnokk opened this issue 1 year ago • 0 comments

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

bajnokk avatar Jan 03 '24 15:01 bajnokk