jwiesel / sfdcCommander

Helper for salesforce.com administrators. Download metadata, gernerate technical documentations and backup the database of an Org.
MIT License
17 stars 5 forks source link

SSO org support? - Nothing happening #26

Open jamesmarvel opened 8 years ago

jamesmarvel commented 8 years ago

Hey,

I'm an admin on a longtime quest for a tool like this. I was quite exctatic when I came across it you could imagine. When I configure the app as described and use the GUI to export the schema/tech docu/... nothing happens when I click the button. No sign of any activity whatsoever. Our company's org works with SSO and has no security tokens. This is the only deviation from the configuration template I can see. Could this be the problem, or am I just missing something else?

hbuchner commented 8 years ago

Dear James,

What kind of SSO are you using? If you are using Delegated Autentication, you must provide login name and password in the config-file. If you require the security token, you need to attach it to the password.
If your org is configured for Federated authentication, the webbrowser is redirected to your identity provider (e.g. active directory) that takes the current Windows account and sends it as loginname to salesforce.
How this is executed within Java, i don't know, but i would question, that the current windows account name is identified and a redirect is initiated automatically. You should then setup a profile for the extraction, that is excluded from the SSO in Salesforce.
Another source of trouble can be born in Salesforce disabling TLS 1.0 as encryption. Java 6 & 7 are using TLS 1.0 by default. With Summer'16, Salesforce has switched all Sandboxes and Production ORGs to TLS 1.1.
If you call SFDCCommenader from the commandline, you can enforce TLS by a -Dhttpprotocol=“TLSv1.1“ switch and give it a try.

Am 29.06.2016, 14:25, jamesmarvel & http://lt%3Bnotifications@github.com%26gt/ lt;notifications@github.com> schrieb:

Hey,

I'm an admin on a longtime quest for a tool like this. I was quite exctatic when I came across it you could imagine.
When I configure the app as described and use the GUI to export the schema/tech docu/... nothing happens when I click the button. No sign of any activity whatsoever.
Our company's org works with SSO and has no security tokens. This is the only deviation from the configuration template I can see.
Could this be the problem, or am I just missing something else?


You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub, or mute the thread.


Von: jamesmarvel [mailto:notifications@github.com] Gesendet: Mittwoch, 29. Juni 2016 14:26 An: jwiesel/sfdcCommander sfdcCommander@noreply.github.com Betreff: [jwiesel/sfdcCommander] SSO org support? - Nothing happening (#26)

Hey,

I'm an admin on a longtime quest for a tool like this. I was quite exctatic when I came across it you could imagine. When I configure the app as described and use the GUI to export the schema/tech docu/... nothing happens when I click the button. No sign of any activity whatsoever. Our company's org works with SSO and has no security tokens. This is the only deviation from the configuration template I can see. Could this be the problem, or am I just missing something else?

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/jwiesel/sfdcCommander/issues/26 , or mute the thread https://github.com/notifications/unsubscribe/AOQvYIBgHk09DSwQPcxwcmpiNnwtU3CJks5qQmQ-gaJpZM4JBEzu . https://github.com/notifications/beacon/AOQvYN8rHRgyIkinc3l_dfHSTk2-lJ9yks5qQmQ-gaJpZM4JBEzu.gif

jamesmarvel commented 8 years ago

Hi,

Thanks! I believe the ending of TLS1.0 support was the problem. We succeeded in extracting custom objects info already. We are encountering another issue with the extraction of the technical doc though, but i'll open another issue for that. Thanks for the detailed explanation and swift response!!

jwiesel commented 7 years ago

Hi, thanks for helping each other out! The new version will run on Java 8. Therefore the TLS issue should not occur anymore.