0
I have deployed an application to Heroku and am getting the following error
"message": "Key path "file://app/Storage/oauth-private.key " does not exist or is not readable", "Exception": "Logicexception", "file": "/app/vendor/League/Oauth2-server/src/Cryptkey.php", "line": 48, "trace": [ { "file": "/app/vendor/Laravel/Passport/src/Passportserviceprovider.php", "line": 242, "Function": "__Construct", "class": "League Oauth2 Server Cryptkey", "type": "->" },
Locally it works well, but after deploy when doing a user login that exists in the database was to be returned the access token but is returning this error. I searched in other sources and tested some dirt, some solved for now but when atulaizar the application and perform the debug the error returns.