Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[TASK] Add note regarding HTTP_AUTHORIZATION #96

Merged
merged 1 commit into from
Jul 11, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 11 additions & 1 deletion Documentation/Implementing/Rest/Index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -77,6 +77,16 @@ used on subsequent requests:

{"success":true,"token":"f3c0946fb05aae4ad50897e9060ab4e8"}

.. info::

When using Apache there is a need to add the following to .htaccess

.. code-block:: bash

RewriteEngine On
RewriteCond %{HTTP:Authorization} ^(.*)
RewriteRule .* - [e=HTTP_AUTHORIZATION:%1]

.. _implementing-rest-authentication-bearer:

Scheme: bearer (OAuth)
Expand Down Expand Up @@ -243,7 +253,7 @@ Optional HTTP Headers

:Required: false
:Type: Boolean

Disable updating the reference index during the request. This has a positive
performance impact. You can (and should) reindex the reference index manually
afterwards.