To use Vimeo's OAuth system, you need to set up the following environment variables in your .env file:
VIMEO_CLIENT_ID: Vimeo OAuth client IDVIMEO_CLIENT_SECRET: Vimeo OAuth client secret
Ensure you have the necessary APIs enabled in Vimeo's developer platform. Follow these steps to obtain your VIMEO_CLIENT_ID and VIMEO_CLIENT_SECRET:
-
Create a Vimeo Developer Account: If you don't have one, you'll need to create a Vimeo developer account at Vimeo Developer.
-
Create an App: Go to your My Apps page and create a new app. You will be given a
Client IDandClient Secretwhich you need to copy and save. -
Set Up Scopes: Ensure that your app has the following scopes enabled:
public: Access public videos and account details.private: Access private videos.video_files: Access video files.
-
Add Environment Variables: Copy your
VIMEO_CLIENT_IDandVIMEO_CLIENT_SECRETinto your.envfile.
To ensure that your application can access the necessary Vimeo resources, the following scopes must be enabled:
publicprivatevideo_files