Skip to content

Commit 941469d

Browse files
committed
Add externalRedirectUri doc
1 parent ef95c3f commit 941469d

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

support/doc/plugins/guide.md

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -418,7 +418,12 @@ function register (...) {
418418
if (fieldName === 'videoQuotaDaily') return currentValue
419419

420420
return newValue
421-
}
421+
},
422+
423+
// Ask PeerTube to redirect on this URL instead of classic `/login` page
424+
// The URL will contain an `externalAuthToken` param that can be reused to authenticate to the PeerTube REST API
425+
// Introduced in PeerTube >= 7.3
426+
externalRedirectUri: 'https://mywebsite.example.com/peertube-login-cb'
422427
})
423428
})
424429

0 commit comments

Comments
 (0)