Comments (3)
Hi @rtconner,
Glad you like it.
If you have a custom URL, you can use the loginURL
key on the credentials
array.
/**
* Enter your creditials
* Username and Password are only neccessary for UserPassword flow. Likewise, callbackURI is only necessary for WebServer flow.
*/
'creditials' => array(
//Required:
'consumerKey' => '',
'consumerSecret' => '',
'callbackURI' => '',
'loginURL' => 'https://login.salesforce.com',
//UserPassword flow only:
'username' => '',
'password' => '',
),
Alternatively you can overwrite the package's authentication route by passing in a custom url:
Route::get('/authenticate', function()
{
return Forrest::authenticate('customURL');
});
Let me know if that works for you!
-Matt
from forrest.
Ok this is now fixed in Pull Request #27
from forrest.
Thank you!
from forrest.
Related Issues (20)
- Storing integer IDs in a Salesforce Custom Field with Number type HOT 1
- Argument #4 ($keyId) must be of type ?string, HOT 4
- Class "App\Http\Controllers\Forrest" not found - Question HOT 2
- Reusing the access/refresh tokens HOT 5
- Cannot access Guzzle response despite docs saying you can
- Authentication HOT 3
- authenticate route throws an error HOT 1
- Any way initialising an instance by providing a Session ID from an external source?
- UserPassword Authenticate not making use of token store. HOT 1
- No Token available after some idle time HOT 2
- Allow route name for callback uri
- Tooling API execute anonymous apex code to get results
- When the Connected app in SalesForce does not have "Full access (full)" scope in the Selected OAuth Scopes, then "Expired token" error is fired
- Tried adding in Custom Storage
- Defining timeout
- RFC 7230 Validation for Apex RestResponse Headers HOT 1
- Update on forrest
- No token available in V2.18.1 HOT 3
- firebase/php-jwt dependency vulnerability
- how to resolve code challenge error
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from forrest.