#
4ca97743 |
| 12-Aug-2025 |
Andreas Gohr <andi@splitbrain.org> |
Merge pull request #4466 from dokuwiki/trustedproxies
Remove remaining uses of old proxy settings
|
#
f7f6f5fc |
| 02-Aug-2025 |
splitbrain <86426+splitbrain@users.noreply.github.com> |
Rector and PHPCS fixes
|
#
e37d2b41 |
| 30-Jul-2025 |
Andreas Gohr <gohr@cosmocode.de> |
add random delay on login #4491
This is meant to mitigate timing attacks on the login mechanism.
|
#
33cb4e01 |
| 03-Jun-2025 |
Andreas Gohr <gohr@cosmocode.de> |
Make is_ssl and baseurl use proper proxy checks
This should not only address #4455 but also ensures that the related headers are only used when they come from a trusted reverse proxy chain.
|
#
0a302752 |
| 12-Mar-2025 |
Andreas Gohr <andi@splitbrain.org> |
treat getallheaders more suspiciously. fixes #4415
|
#
b21b7935 |
| 07-Jan-2025 |
Tobias Bengfort <tobias.bengfort@posteo.de> |
mv UNUSABLE_PASSWORD const to defines
|
#
0ffe9fda |
| 07-Jan-2025 |
Tobias Bengfort <tobias.bengfort@posteo.de> |
add new behavior to doc block
|
#
527ad715 |
| 07-Jan-2025 |
Tobias Bengfort <tobias.bengfort@posteo.de> |
allow to set unusable password
This could be used by plugins such as dokuwiki-plugin-oauth to create accounts that can only by accessed via SSO.
|
#
8407f251 |
| 02-Dec-2024 |
splitbrain <86426+splitbrain@users.noreply.github.com> |
Rector and PHPCS fixes
|
#
b9cda918 |
| 27-Nov-2024 |
Andreas Gohr <andi@splitbrain.org> |
unset empty REMOTE_USER. fixes #4348
An empty remote user should not be set at all. Seems like some webservers always set the environment var, even if no authentication happened. I'd argue that this
unset empty REMOTE_USER. fixes #4348
An empty remote user should not be set at all. Seems like some webservers always set the environment var, even if no authentication happened. I'd argue that this is wrong, but this should fix the behaviour.
show more ...
|
#
7ffd5bd2 |
| 01-Aug-2024 |
Andreas Gohr <andi@splitbrain.org> |
alternative token header support
The Authorization header is not always passed on to PHP, depending on the setup (See https://stackoverflow.com/q/34472303 for examples and workarounds).
This patch
alternative token header support
The Authorization header is not always passed on to PHP, depending on the setup (See https://stackoverflow.com/q/34472303 for examples and workarounds).
This patch adds support for an alternative X-DokuWiki-Token header that can be used when using token authentication and the standard Authorization header can not be used.
show more ...
|
#
1cedacf2 |
| 09-Feb-2024 |
Andreas Gohr <andi@splitbrain.org> |
gracefully handle decryption errors
This should fix #4198
|
#
47e9ed0e |
| 12-Jan-2024 |
Andreas Gohr <andi@splitbrain.org> |
adjust AES encryption to match phpseclib version2
See https://github.com/phpseclib/phpseclib/discussions/1974#discussioncomment-8107663
|
#
927933f5 |
| 29-Nov-2023 |
Andreas Gohr <andi@splitbrain.org> |
upgrade to phpseclib 3
This replaces the dependabot PR #4114 and adjusts the usage of the library.
|
#
cf927d07 |
| 28-Nov-2023 |
splitbrain <splitbrain@users.noreply.github.com> |
Rector and PHPCS fixes
|
#
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
|