Run this command in your console:
php artisan vendor:publish -tag=laravel-wd-my-cloud-api-config
-
Obtain a free developer account from here - https://developer.westerndigital.com/develop/wd-my-cloud-home/forms/mchoff/register-app-new-mchoff.html
-
Once your account is approved, add the keys to your
.env
:
MYCLOUD_CLIENT_ID=
MYCLOUD_CLIENT_SECRET=
- Navigate to your internet browser and go to /mycloud/login