omniphx / forrest

A Laravel library for Salesforce
https://omniphx.github.io/forrest/
MIT License
259 stars 120 forks source link

When the Connected app in SalesForce does not have "Full access (full)" scope in the Selected OAuth Scopes, then "Expired token" error is fired #334

Open mirrorps opened 11 months ago

mirrorps commented 11 months ago

When the Connected app in SalesForce does not have "Full access (full)" scope in the Selected OAuth Scopes, then "Expired token" error is fired on the callback when $this->storeResources(); is called. This is for the WebSever auth case. I suggest that this would be easily fixed by using a config variable inside the forrest config file. If you like I can fix it and push a PR?