Skip to content

Commit

Permalink
feat: add preserve_host to session and bearer configs
Browse files Browse the repository at this point in the history
  • Loading branch information
aeneasr committed Jul 19, 2021
1 parent d9b53ed commit e1cc575
Show file tree
Hide file tree
Showing 7 changed files with 20,054 additions and 48 deletions.
12 changes: 11 additions & 1 deletion .schema/config.schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -423,7 +423,12 @@
"preserve_path": {
"title": "Preserve Path",
"type": "boolean",
"description": "When set to true, any path specified in `check_session_url` will be preserved instead of overwriting the path with the path from the original request"
"description": "When set to true, any path specified in `check_session_url` will be preserved instead of overwriting the path with the path from the original request."
},
"preserve_host": {
"title": "Preserve Host",
"type": "boolean",
"description": "When set to true the HTTP Header X-Forwarded-Host will be set to the original HTTP host."
},
"extra_from": {
"title": "Extra JSON Path",
Expand Down Expand Up @@ -504,6 +509,11 @@
"type": "boolean",
"description": "When set to true, any path specified in `check_session_url` will be preserved instead of overwriting the path with the path from the original request"
},
"preserve_host": {
"title": "Preserve Host",
"type": "boolean",
"description": "When set to true the HTTP Header X-Forwarded-Host will be set to the original HTTP host."
},
"extra_from": {
"title": "Extra JSON Path",
"description": "The `extra` field in the ORY Oathkeeper authentication session is set using this JSON Path. Defaults to `extra`, and could be `@this` (for the root element), `foo.bar` (for key foo.bar), or any other valid GJSON path. See [GSJON Syntax](https://github.com/tidwall/gjson/blob/master/SYNTAX.md) for reference.",
Expand Down
Loading

0 comments on commit e1cc575

Please sign in to comment.