1
0
Fork 0
mirror of https://github.com/Chocobozzz/PeerTube.git synced 2025-10-03 01:39:37 +02:00
Peertube/server
Jakob Meier fc986076c9
Allow auth plugins to redirect to external url (#7179)
* Allow auth plugins to redirect to external url

Add a new optional field to `RegisterServerExternalAuthenticatedResult`,
the object passed to the `userAuthenticated` callback used by auth plugins.

The server code uses this to redirect to an external website if it is set.

Left TODO:

- This code has been tested manually but a test case is still missing.
- Here or in the plugin, the redirect urls must be limited to values configurable by admins.

* rename to URI for consistency

* add test for the new parameter

* address review comments

- correct syntax for optional parameter
- handle the case where `externalAuthToken` has query parameters included
2025-08-07 14:59:19 +02:00
..
core Allow auth plugins to redirect to external url (#7179) 2025-08-07 14:59:19 +02:00
locales Update translations 2025-07-24 15:18:19 +02:00
scripts Fix broken video state on move failure 2025-06-27 09:03:35 +02:00
.i18next-parser.config.ts Update translations 2025-07-24 15:18:19 +02:00
package.json Fix peertube helpers tsx tests 2023-08-18 10:18:56 +02:00
server.ts Add ability to list and revoke token sessions 2025-07-30 11:42:49 +02:00
tsconfig.json Fix build 2025-02-21 09:27:12 +01:00
tsconfig.lib.json server/server -> server/core 2023-10-04 15:13:25 +02:00
tsconfig.types.json Reduce peertube types package size 2024-08-13 09:38:35 +02:00