Models

OAuthToken-password

object
client_idstringrequired
Example
v1ikx5hnfop4mdpnci8nsqh93c45rldf
client_secretstringrequired
Example
AjWiOapPltI6EnsWQwlFarRtLh4u8tDt
grant_typestringpasswordrequired
usernameusernamerequired

immutable name of the user, used to find or mention its actor

Example
chocobozzz
externalAuthTokenstring

If you want to authenticate using an external authentication token you got from an auth plugin (like peertube-plugin-auth-openid-connect for example) instead of a password or a refresh token, provide it here.