Skip to content

ActivityPub-federated video streaming platform using P2P directly in your web browser

Add externalRedirectUri doc

Chocobozzz941469df2911
diff --git a/support/doc/plugins/guide.md b/support/doc/plugins/guide.md
index 8f516e04c5..05cdb6edf1 100644
--- a/support/doc/plugins/guide.md
+++ b/support/doc/plugins/guide.md
@@ -418,7 +418,12 @@ function register (...) {
if (fieldName === 'videoQuotaDaily') return currentValue
return newValue
- }
+ },
+
+ // Ask PeerTube to redirect on this URL instead of classic `/login` page
+ // The URL will contain an `externalAuthToken` param that can be reused to authenticate to the PeerTube REST API
+ // Introduced in PeerTube >= 7.3
+ externalRedirectUri: 'https://mywebsite.example.com/peertube-login-cb'
})
})