Hello,
I am struggling to use the api rest with a 2fa enabled account.
According to this documentation:
https://docs.joinpeertube.org/api-rest-reference.html#tag/Session/operation/getOAuthClient
- get clientid and clientsecret
- post to user/token
it asks for 2fa.
which according to this:
https://docs.joinpeertube.org/api-rest-reference.html#tag/Users/operation/requestTwoFactor
this is required:
but the api complains it needs the token
which is obtained by asking token, so unless I am missing something (which im sure i am, as usual), there is a loop?