cloudinary-community / cloudinary-laravel

Laravel SDK for Cloudinary
MIT License
255 stars 71 forks source link

How to set CLOUDINARY_URL #92

Closed iamgoodbytes closed 1 year ago

iamgoodbytes commented 1 year ago

It's been asked before but couldn't find a clear answer to how to set CLOUDINARY_URL

When logging into the cloudinary dashboard, these are the settings given but names don't match the .env.

cloudinary.config({ 
  cloud_name: 'xyz', 
  api_key: ''***************************'', 
  api_secret: '***************************' 
});

I tried several URL format I found in the API docs, but I think it could be more clear on how to format the right url, by adding an example to the docs.

Invalid configuration, please set up your environment Would anyone be willing to share a working URL (of course with keys and secrets removed)?

Thanks a lot for helping out!

iamgoodbytes commented 1 year ago

Finally found the URL in another screen in Cloudinary, my bad. Still getting the "invalid configuration" error though, must be something else!