laravel-dropbox icon indicating copy to clipboard operation
laravel-dropbox copied to clipboard

How to load API credentials from DB instead of env file?

Open prashantmishrra opened this issue 3 years ago • 1 comments

I am working on a SAAS application where I want each user to use their own dropbox. For that I want to give them option in his profile settings to enter drop box API credentials. And list all documents on their dashboard after they login.

Is it possible? How? Can you suggest me how to achieve this?

Thanks Prashant

prashantmishrra avatar May 05 '22 03:05 prashantmishrra

This issue is more of a higher level issue you want to consider rather than at a package level.

I have seen this method applied before which uses a middleware when a client is logged in - and they set the config values on the fly to the values from the database.

matthewhutchings avatar May 10 '22 22:05 matthewhutchings