PASTAplus / auth

PASTA+ Authentication Service
Apache License 2.0
0 stars 0 forks source link

Remove the `make_target_url()` function, and require clients to provide complete target URLs #27

Closed rogerdahl closed 4 months ago

rogerdahl commented 5 months ago

Currently, clients provide a hostname as a target. auth then checks the hostname against lists of known hostnames and based on matches, wraps the target with different port, path and query parameters to create a complete URL for that client. The conditional logic involves a set of settings in auth, and splits the creation of the final target between the client and auth.

This ticket is to simplify things by removing make_target_url() and all the related settings from auth, and instead require clients to provide a complete URL as target. auth will still add some query parameters to this URL, but otherwise leave it unchanged.

Note that this additionally requires changes to all clients that use auth.