frp/pkg
Rob Kenis d0829760c6
support multiple subjects in oidc ping
Validate the subject in an oidc ping against a list of logged in subjects.

This resolves the issue that multiple connected FRP clients with different
OIDC clients result in a failing ping. The ping would fail because the
subject in memory would be the value of the last logged in FRPC.

This change also changes the constructor of OidcAuthVerifier to take
a TokenVerifier interface. This will not change production behavior, but makes
testing easier because we can inject a mock verifier during testing.

Resolves: #4466
2024-10-11 08:11:03 +02:00
..
auth support multiple subjects in oidc ping 2024-10-11 08:11:03 +02:00
config client plugin: added plugin tls2raw (#4341) 2024-07-25 14:28:17 +08:00
errors rename models to pkg (#2005) 2020-09-23 13:49:14 +08:00
metrics use new log package (#4054) 2024-03-12 13:58:53 +08:00
msg support responseHeaders.set for proxy type http (#4192) 2024-04-29 15:53:45 +08:00
nathole use math/rand/v2 (#4020) 2024-03-20 15:48:31 +08:00
plugin client plugin: added plugin tls2raw (#4341) 2024-07-25 14:28:17 +08:00
proto/udp lint by golangci-lint (#3080) 2022-08-29 01:02:53 +08:00
sdk/client added a 30s timeout for frpc subcommands to avoid long delays (#4359) 2024-07-30 18:12:22 +08:00
ssh client: add StatusExporter in service (#4182) 2024-04-25 20:20:39 +08:00
transport sshTunnelGateway refactor (#3784) 2023-11-22 14:35:37 +08:00
util added a 30s timeout for frpc subcommands to avoid long delays (#4359) 2024-07-30 18:12:22 +08:00
virtual optimize some code (#3801) 2023-11-27 15:47:49 +08:00