mirror of
https://github.com/Chocobozzz/PeerTube.git
synced 2025-10-03 09:49:20 +02:00
Add externalRedirectUri doc
This commit is contained in:
parent
ef95c3fe72
commit
941469df29
1 changed files with 6 additions and 1 deletions
|
@ -418,7 +418,12 @@ function register (...) {
|
||||||
if (fieldName === 'videoQuotaDaily') return currentValue
|
if (fieldName === 'videoQuotaDaily') return currentValue
|
||||||
|
|
||||||
return newValue
|
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'
|
||||||
})
|
})
|
||||||
})
|
})
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue