+ Start a Discussion
Md HassanMd Hassan 

I am working on crm software. After login salesforce account, it will redirect to crm software.How to integrate my company crm website authentication process with salesforce?

Integrate SSO in any website with salesforce.
Best Answer chosen by Md Hassan
vijay kumar kvijay kumar k
Hi Md Hassan

Yes , you can integrate SSO in any website with Salesforce for that Salesforce needs only Metadata file of which one to you integrate. So first generate METADATA file in Your CRM tool use this file in Salesforce.

SSO Implementationntation method in Salesforce.
https://help.salesforce.com/articleView?id=sso_saml.htm&type=5&sfdcIFrameOrigin=null

If you have time practice the same thing in Salesforce trailhead. https://trailhead.salesforce.com/en/content/learn/modules/identity_login/identity_login_sso

Regards
Vijay

All Answers

vijay kumar kvijay kumar k
Hi Md Hassan

Yes , you can integrate SSO in any website with Salesforce for that Salesforce needs only Metadata file of which one to you integrate. So first generate METADATA file in Your CRM tool use this file in Salesforce.

SSO Implementationntation method in Salesforce.
https://help.salesforce.com/articleView?id=sso_saml.htm&type=5&sfdcIFrameOrigin=null

If you have time practice the same thing in Salesforce trailhead. https://trailhead.salesforce.com/en/content/learn/modules/identity_login/identity_login_sso

Regards
Vijay
This was selected as the best answer
Md HassanMd Hassan
Thank you ,Vijay kumar k.

Could you tell me how to generate METADATA file in my CRM application. This CRM application based on Java spring framework.
vijay kumar kvijay kumar k
Hi Md Hassan

I'll get back to you with a solution.
Md HassanMd Hassan
Thank you so much for your attention.
Md HassanMd Hassan
Hello Vijay,
I am waiting for your solution.
Sorry for inconvenience
vijay kumar kvijay kumar k
Hi Md Hasssan

I think you hava solution already. As you mentioned in question salesforce is identity provider and JAVA CRM tool is service provider. For this you should generate metada file from salesforce and use this file in your CRM Tool.

For generating metadata from salesforce please follow the below link:
https://developer.salesforce.com/docs/atlas.en-us.api_meta.meta/api_meta/meta_quickstart_get_WSDLs.htm
after clicking the generate metadata in salesforce the page will redirect to another page and this page contains XML format script, so you should save this file in your desktop to reuse with same format
Md HassanMd Hassan
Thanks a lot, Vijay.
Now, i am using thirty days Professional trial edition. After clicking the generate metadata , it will appear sales force login page. I entered proper email and password but would not log in.
Another problem i have faced. Its apex class. I have to modify for google auth provider. But After clicking AutocreateRegHandler, it shows - You do not have the level of access necessary to perform the operation you requested. Please contact the owner of the record or your administrator if access is necessary. For more information, see Insufficient Privileges Errors. here i given screen shot.
sample
vijay kumar kvijay kumar k
Hi Md Hassan

Sorry for the inconvenience, currently salesforce doesn't support as an identity provider in Professional edition. You may update your edition and try.

Please go through the below link
https://help.salesforce.com/articleView?id=identity_provider_enable.htm&type=5.