Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Authenticating against multiple SalesForce organisations - can it be done? #110

Open
blorange2 opened this issue Mar 19, 2024 · 3 comments

Comments

@blorange2
Copy link

blorange2 commented Mar 19, 2024

Hello,

I'm in a situation where I'd like to send data from one Salesforce organisation to another after a certain point so I'd like to have a specific model like OtherOrganisationLead and authenticate against another organisation when working with it.

I see in https://github.com/omniphx/forrest/tree/master?tab=readme-ov-file#soap-authentication-flow that if you use SOAP you can login to multiple accounts.

Is there a way to authenticate against different accounts on the fly?

@roblesterjr04
Copy link
Owner

Yeah, you should be able to do it by changing the config on the fly per laravel methods.

@blorange2
Copy link
Author

Yeah, you should be able to do it by changing the config on the fly per laravel methods.

How does this work with models and the like? As a different Salesforce org may have different objects.

Esse

@blorange2 blorange2 reopened this Aug 5, 2024
@blorange2
Copy link
Author

How would this work with differing models? Essentially I have a point where I want to write an object's data to another object in a different Salesforce account.

@blorange2 blorange2 reopened this Aug 5, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants