History log of /dokuwiki/inc/auth.php (Results 26 – 50 of 334)
Revision Date Author Comments
# 6fdb83b6 28-Nov-2023 Andreas Gohr <andi@splitbrain.org>

prefer getallheaders() over apache_request_headers()


# 74800018 28-Nov-2023 Andreas Gohr <andi@splitbrain.org>

Merge pull request #2432 from dokuwiki/tokenauth

Implement Token Authentication


# d26e5a24 16-May-2023 Andreas Gohr <andi@splitbrain.org>

Tokenauth: ignore case when gettign auth header from apache


# 455aa67e 25-Apr-2023 Andreas Gohr <andi@splitbrain.org>

Introduce token authentication #2431

This generates a JWT token for users. This token can be sent in a Bearer
authentication header as a login mechanism. Users can reset their token
in the profile.

Introduce token authentication #2431

This generates a JWT token for users. This token can be sent in a Bearer
authentication header as a login mechanism. Users can reset their token
in the profile.

Note: a previously suggested implementation used a custom token format,
not JWT tokens

show more ...


# 67efd1ed 20-Sep-2023 Pieter Hollants <pieter@hollants.com>

Fix updateProfile() not checking for removed $changes["pass"]

If the authentication plugin does not support modifying passwords, we
unset($changes['pass']) further above, but then the check for
$cha

Fix updateProfile() not checking for removed $changes["pass"]

If the authentication plugin does not support modifying passwords, we
unset($changes['pass']) further above, but then the check for
$changes['pass'] must also handle the case that we did indeed unset it.

show more ...


# 71c734a9 31-Aug-2023 Gerrit Uitslag <klapinklapin@gmail.com>

remove debug, fix codesniffer


# 6547cfc7 31-Aug-2023 Gerrit Uitslag <klapinklapin@gmail.com>

use $auth instanceof AuthPlugin instead of not null check


# 4dc42f7f 31-Aug-2023 Gerrit Uitslag <klapinklapin@gmail.com>

unused items, phpdocs


# d4f83172 31-Aug-2023 Andreas Gohr <andi@splitbrain.org>

code style: line breaks


# 90fb952c 31-Aug-2023 Andreas Gohr <andi@splitbrain.org>

code style: operator spacing


# 7d34963b 31-Aug-2023 Andreas Gohr <andi@splitbrain.org>

coding style: control flow line breaks


# 177d6836 31-Aug-2023 Andreas Gohr <andi@splitbrain.org>

coding style: control flow whitespaces


# a19c9aa0 30-Aug-2023 Gerrit Uitslag <klapinklapin@gmail.com>

recover comments in list


# dccd6b2b 30-Aug-2023 Andreas Gohr <andi@splitbrain.org>

coding style: function call spacing


# d868eb89 30-Aug-2023 Andreas Gohr <andi@splitbrain.org>

codestyle adjustments: function declaration braces/spaces


# c1482d1c 30-Aug-2023 Andreas Gohr <andi@splitbrain.org>

codestyle adjustments: function argument spacing


# 24870174 29-Aug-2023 Andreas Gohr <andi@splitbrain.org>

Apply rector fixes to the rest of inc


# 486f82fc 21-Aug-2023 Andreas Gohr <andi@splitbrain.org>

add setting to define the samesite cookie policy

As mentioned in
https://github.com/dokuwiki/dokuwiki/pull/3994#pullrequestreview-1473052428
there might be occasions when users might want to change

add setting to define the samesite cookie policy

As mentioned in
https://github.com/dokuwiki/dokuwiki/pull/3994#pullrequestreview-1473052428
there might be occasions when users might want to change the policy to a
stricter one or the somewhat more lenient Lax implementation of current
browsers.

show more ...


# bf8392eb 09-Jun-2023 Andreas Gohr <andi@splitbrain.org>

use samesite=Lax cookie attribute #2849

Since this has been the default in Chrome for a while, no sideeffects
are to be expected.


# 62bf3ac0 03-Feb-2023 Damien Regad <dregad@mantisbt.org>

Check Basic Auth scheme in Authorization header

Prior to this, auth_setup() would simply assume that the Authorization
header was using the Basic auth scheme, but there are other available
ones, whi

Check Basic Auth scheme in Authorization header

Prior to this, auth_setup() would simply assume that the Authorization
header was using the Basic auth scheme, but there are other available
ones, which could result in incorrect processing of the header's data.

We now specifically check that we have the `Basic` scheme, and only then
perform the base64_decode to get the username and password.

show more ...


# 0ba8a0de 19-Oct-2022 Andreas Gohr <andi@splitbrain.org>

Merge pull request #3754 from splitbrain/sexplode

introduce sexplode() as a PHP8 safe explode()


# ec34bb30 19-Oct-2022 Andreas Gohr <andi@splitbrain.org>

Update core code to make use of sexplode()

This makes use of our own explode mechanism everywhere were we expect a
fixed number of results.


# 03062864 26-Aug-2022 Andreas Gohr <andi@splitbrain.org>

use $INPUT to access authentication environment #3750

This should fix warnings about missing data.


# 0b1b444c 15-Aug-2022 AdaKaleh <31895292+adakaleh@users.noreply.github.com>

Remove Accept-Encoding from auth_browseruid()

Browsers do not send the same Accept-Encoding header for all requests, so using
it as part of auth_browseruid() can break things. For example, the audi

Remove Accept-Encoding from auth_browseruid()

Browsers do not send the same Accept-Encoding header for all requests, so using
it as part of auth_browseruid() can break things. For example, the audio
CAPTCHA in the official CAPTCHA plugin stopped matching its corresponding
image. Details here:

https://github.com/splitbrain/dokuwiki-plugin-captcha/issues/115#issuecomment-1215007408

show more ...


# c7dab4e8 14-Aug-2022 Andreas Gohr <andi@splitbrain.org>

replace deprecated method calls


12345678910>>...14