Mykhailo Roit
958dcb8fa9
feat: sanitize external identity provider user data ( #681 )
...
* feat: sanitize external user data
* remove config option to disable Sanitization: sanitize_external_user_data
* cleanup
---------
Co-authored-by: Christoph Haas <christoph.h@sprinternet.at >
2026-05-18 22:28:27 +02:00
Mykhailo Roit
0e9e9d697f
fix: "created_at" for users ( #656 )
...
Docker / Build and Push (push) Has been cancelled
github-pages / deploy (push) Has been cancelled
Docker / release (push) Has been cancelled
* fix: created_at for users
* added tests for: created_at for users
* cleanup fixes
---------
Co-authored-by: Christoph Haas <christoph.h@sprinternet.at >
2026-04-01 11:58:22 +02:00
Jacopo Clark
402cc1b5f3
feat: Implement LDAP interface-specific provisioning filters ( #642 )
...
Docker / Build and Push (push) Has been cancelled
github-pages / deploy (push) Has been cancelled
Docker / release (push) Has been cancelled
* Implement LDAP filter-based access control for interface provisioning
* test: add unit tests for LDAP interface filtering logic
* smaller improvements / cleanup
---------
Co-authored-by: jc <37738506+theguy147@users.noreply.github.com >
Co-authored-by: Christoph Haas <christoph.h@sprinternet.at >
2026-03-19 23:13:19 +01:00
h44z
bbcda1a033
Merge commit from fork
...
* fix: improve user permission checks
* fix: improve user permission checks
2026-02-24 22:32:37 +01:00
h44z
e0f6c1d04b
feat: allow multiple auth sources per user (#500,#477) ( #612 )
...
* feat: allow multiple auth sources per user (#500,#477)
* only override isAdmin flag if it is provided by the authentication source
2026-01-21 22:22:22 +01:00
Christoph
d759fc7dc7
allow to log raw LDAP user data ( #571 )
Docker / Build and Push (push) Has been cancelled
github-pages / deploy (push) Has been cancelled
Docker / release (push) Has been cancelled
2025-11-19 16:00:11 +01:00
Christoph Haas
e9005b1b90
add minimum password length check
2025-05-16 09:55:35 +02:00
Christoph Haas
1394be2341
add webauthn (passkey) support
2025-05-12 22:53:43 +02:00
Christoph
059234d416
never publish pointer payloads on message bus ( #411 )
2025-04-21 16:42:35 +02:00
Christoph
e2966d32ea
fix user creation ( #411 )
2025-04-21 15:29:53 +02:00
Christoph
9354a1d9d3
add simple webhook feature for peer, interface and user events ( #398 )
2025-04-19 21:29:26 +02:00
Christoph
37904f96fb
run initial LDAP sync on startup ( #407 )
2025-04-19 12:12:45 +02:00
Christoph Haas
7d0da4e7ad
chore: use interfaces for all other services
2025-03-23 23:09:47 +01:00
Christoph Haas
7473132932
chore: replace logrus with standard lib log/slog
2025-03-02 08:51:13 +01:00
Christoph Haas
e24acfa57d
chore: cleanup code formatting
2025-02-28 08:37:55 +01:00
klmmr
eeb0c87c68
ldap-sync: fix creation of only one user per LDAP sync ( #375 )
...
Before this fix, a too early `return` statement terminated the
`updateLdapUsers()` function, whenever one not already existing user was
created. Therefore, in each LDAP sync a maximum of one new user could be
created (i.e., it took x LDAP sync cycles until x new LDAP users are
registered in wg-portal). Depending on the LDAP `sync_interval` this can
take a long time and produces unecessary long waiting times until users
are available in wg-portal.
Removing the early return statement, and move the remainder of the
function into an `else` statement, so that all new users can be
added in a single LDAP sync.
Also adding a debug statement to better trace the behavior.
Signed-off-by: klmmr <35450576+klmmr@users.noreply.github.com >
2025-02-26 21:56:22 +01:00
Christoph Haas
f6c8cd5ea8
allow LDAP users (and linked peers) to be automatically re-enabled ( #345 )
Docker / Build and Push (push) Has been cancelled
github-pages / deploy (push) Has been cancelled
Docker / release (push) Has been cancelled
2025-01-21 18:03:30 +01:00
Christoph Haas
c73ce0288e
fix disabling of missing ldap users ( #344 ) and allow deletion of all user types
2025-01-18 17:39:18 +01:00
Christoph Haas
6523a87dfb
fix peer disable if ldap user is disabled ( #343 )
Docker / Build and Push (push) Waiting to run
Docker / release (push) Blocked by required conditions
github-pages / deploy (push) Waiting to run
2025-01-17 21:59:15 +01:00
Christoph Haas
17844ed929
fix update of userdata after OAuth login ( #317 , #160 )
2025-01-13 22:14:00 +01:00
Christoph Haas
63d85d8123
code cleanup
2025-01-11 22:56:25 +01:00
h44z
d596f578f6
API - CRUD for peers, interfaces and users ( #340 )
...
Public REST API implementation to handle peers, interfaces and users. It also includes some simple provisioning endpoints.
The Swagger API documentation is available under /api/v1/doc.html
2025-01-11 18:44:55 +01:00
Christoph Haas
6d86f15ff8
implement/fix peer and user disable event ( #337 , #273 )
Docker / Build and Push (push) Waiting to run
Docker / release (push) Blocked by required conditions
github-pages / deploy (push) Waiting to run
2025-01-05 10:06:34 +01:00
Dmytro Bondar
605841f2a0
fix: LDAP sync interval ( #304 )
...
Configurable LDAP sync interval for each LDAP provider
2024-09-22 11:49:23 +02:00
sh0rch
0ade556e80
Brought into working condition for LDAP authentication.
2024-02-29 07:17:17 +03:00
Christoph Haas
1b4b5ff161
fix REST API permission checks ( #209 )
2024-01-31 21:14:36 +01:00
h44z
8b820a5adf
V2 alpha - initial version ( #172 )
...
Initial alpha codebase for version 2 of WireGuard Portal.
This version is considered unstable and incomplete (for example, no public REST API)!
Use with care!
Fixes/Implements the following issues:
- OAuth support #154 , #1
- New Web UI with internationalisation support #98 , #107 , #89 , #62
- Postgres Support #49
- Improved Email handling #47 , #119
- DNS Search Domain support #46
- Bugfixes #94 , #48
---------
Co-authored-by: Fabian Wechselberger <wechselbergerf@hotmail.com >
2023-08-04 13:34:18 +02:00