1
0
Fork 0
mirror of https://github.com/Chocobozzz/PeerTube.git synced 2025-10-03 01:39:37 +02:00

Add externalRedirectUri doc

This commit is contained in:
Chocobozzz 2025-09-12 08:53:38 +02:00
parent ef95c3fe72
commit 941469df29
No known key found for this signature in database
GPG key ID: 583A612D890159BE

View file

@ -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'
})
})