Can`t access to owncloud without insert directly user and password

Hi,

I am working on a laravel project for clients. Owncloud is the data storage tool we use.The issue is that, through a button, we want to access the platform without having to always enter the password. In the code we introduce the following url with the intention of not requesting credentials:

https://user:password@ourwebpath/apps/files/?dir=/MANAGER/machineSerialNum

Is there a way to perform the login by code without having to request it every time I want to access?

thanks in advance