vault/website/content/docs/commands/auth
Scott Miller 415d260995
Support trimming trailing slashes via a mount tuneable to support CMPv2 (#28752)
* Support trimming trailing slashes via a mount tuneable to support CMPv2

* changelog/

* Perform trimming in handleLoginRequest too

* Eagerly fetch the mount entry so we only test this once

* Add a mount match function that gets path and entry

* Update vault/request_handling.go

Co-authored-by: Steven Clark <steven.clark@hashicorp.com>

* more docs

* Some patches (from ENT) didnt apply

* patch fail

* Update vault/router.go

Co-authored-by: Steven Clark <steven.clark@hashicorp.com>

* PR feedback

* dupe

* another dupe

* Add support for enabling trim_request_trailing_slashes on mount creation

* Fix read mount api returning configuration for trim_request_trailing_slashes

* Fix test assertion

* Switch enable and tune arguments to BoolPtrVal to allow end-users to specify false flag

* Add trim-request-trailing-slashes to the auth enable API and CLI

---------

Co-authored-by: Steven Clark <steven.clark@hashicorp.com>
2024-10-24 10:47:17 -05:00
..
disable.mdx docs: Migrate link formats (#18696) 2023-01-25 16:12:15 -08:00
enable.mdx Support trimming trailing slashes via a mount tuneable to support CMPv2 (#28752) 2024-10-24 10:47:17 -05:00
help.mdx docs: Migrate link formats (#18696) 2023-01-25 16:12:15 -08:00
index.mdx docs: Migrate link formats (#18696) 2023-01-25 16:12:15 -08:00
list.mdx [docs] Convert titles to sentense case (#21426) 2023-06-30 19:22:07 -04:00
move.mdx docs: Migrate link formats (#18696) 2023-01-25 16:12:15 -08:00
tune.mdx Support trimming trailing slashes via a mount tuneable to support CMPv2 (#28752) 2024-10-24 10:47:17 -05:00