mirror of
https://github.com/Jermolene/TiddlyWiki5
synced 2024-11-02 08:06:17 +00:00
3f763775d6
* fix: CJK in header has to be urlEncoded * refactor: use $tw.utils.decodeURIComponentSafe * docs: about chagne in this field * docs: update * docs: use less "field"
16 lines
931 B
Plaintext
16 lines
931 B
Plaintext
caption: authenticated-user-header
|
|
created: 20180630180213047
|
|
modified: 20230522184416583
|
|
tags: [[WebServer Parameters]]
|
|
title: WebServer Parameter: authenticated-user-header
|
|
type: text/vnd.tiddlywiki
|
|
|
|
The [[web server configuration parameter|WebServer Parameters]] ''authenticated-user-header'' activates [[header authentication|WebServer Header Authentication]] by specifying the name of the HTTP header field that will be used to pass the username to TiddlyWiki.
|
|
|
|
For example, if the ''authenticated-user-header'' is set to ''X-Authenticated-User'', then the HTTP request must include a header field ''X-Authenticated-User'' with a value that is the username:
|
|
|
|
```http
|
|
X-Authenticated-User: JeremyRuston
|
|
```
|
|
|
|
<<.from-version "5.3.0">> Value of this header field should be URI-encoded before transit on the client (using `encodeURIComponent` JS function or [[encodeuricomponent Operator]]), and will be URI-decoded by the server. |