Hello!
I set up my own Peertube server. Everything was working fine. To integrate Peertube videos into Moodle, I’m currently creating a small plugin in Moodle. To enable the connection, I generated tokens for my two users on Peertube via the console. The initial integration of the videos into Moodle actually worked. However, I’m now having the problem that I can no longer log in to Peertube with my two users. To avoid constantly renewing the tokens, I set the token expiration time to « zero » in the production.yaml.
Does anyone have any idea why my users can no longer log in?
Best regards,
Friedhelm
Maybe 0 does not mean unlimited?
Instead of 0, maybe you can try to set several years?
Hi John,
Thanks, that was the error. I switched to a one-year subscription and then I was able to log in again.
Best regards
Hello!
I’m working on a connection between Moodle and Peertube via a Moodle block. Currently, I can use the block to embed videos from Peertube into Moodle, provided the privacy field is set to Public. I’ve generated a Peertube token for the connection and enter the Peertube base URL in Moodle next to the token. As I said, it’s already working well with public videos. Does anyone have any idea how I can create a token in Peertube for videos in the « unlisted » or « private » section?
Best regards