# Okta Sign In widget - Salesforce Community Integration

**URL:** <https://devforum.okta.com/t/okta-sign-in-widget-salesforce-community-integration/13930>\
**Category:** Questions\
**Created:** [April 22, 2021, 9:37pm UTC](https://devforum.okta.com/t/okta-sign-in-widget-salesforce-community-integration/13930 "2021-04-22T21:37:04Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![praveenparimi](https://avatars.discourse-cdn.com/v4/letter/p/97f17d/32.png) [@praveenparimi](https://devforum.okta.com/u/praveenparimi)\
**Post date:** [April 22, 2021, 9:37pm UTC](https://devforum.okta.com/t/okta-sign-in-widget-salesforce-community-integration/13930/1 "2021-04-22T21:37:04Z")

</div>

We are thinking to embed the Okta Login widget on the salesforce communities login page so that salesforce community users would not need to leave the salesforce login page. Is there any documentation available on how to achieve this and if Okta would support this on salesforce communities pages?

---

<div class="post-metadata">

**Author:** ![Lijia](https://sea1.discourse-cdn.com/oktadev/user_avatar/devforum.okta.com/lijia/32/2295_2.png) [@Lijia](https://devforum.okta.com/u/Lijia)\
**Post date:** [April 23, 2021, 3:46am UTC](https://devforum.okta.com/t/okta-sign-in-widget-salesforce-community-integration/13930/2 "2021-04-23T03:46:18Z")

</div>

@praveenparimi  
Hi, you can refer the below [article](https://developer.okta.com/code/javascript/okta_sign-in_widget/?_ga=2.35070821.576645507.1619129263-1275250037.1619032181) of Okta sign in widget.  
For integration, the article is [here](https://help.okta.com/en/prod/Content/Topics/Provisioning/Salesforce/sfdc-community-integration.htm)  
Not sure what is your end goal or how do you want to implement Okta sign widget but you can take a look of the above docs.

---

<div class="post-metadata">

**Author:** ![jakesov](https://avatars.discourse-cdn.com/v4/letter/j/eada6e/32.png) [@jakesov](https://devforum.okta.com/u/jakesov)\
**Post date:** [May 12, 2022, 5:49pm UTC](https://devforum.okta.com/t/okta-sign-in-widget-salesforce-community-integration/13930/3 "2022-05-12T17:49:51Z")

</div>

@Lijia thanks for the links, but I think they are only a small part of filling an important need. The out of the box SAML integration for us does not work for a true public facing enterprise approach. As far as I know, only OIDC allows for handler code to run at login to ensure the right salesforce users are associated with the right Okta users. That works very well. But creating an embedded widget for OIDC login that triggers Salesforce handler code does not seem to be a covered topic anywhere in the docs or otherwise. I am sure its possible, but a walkthrough in the docs I think is really due at this time. Thanks for your help.

---

<div class="post-metadata">

**Author:** ![db1](https://avatars.discourse-cdn.com/v4/letter/d/b5a626/32.png) [@db1](https://devforum.okta.com/u/db1)\
**Post date:** [April 19, 2023, 6:48pm UTC](https://devforum.okta.com/t/okta-sign-in-widget-salesforce-community-integration/13930/4 "2023-04-19T18:48:05Z")

</div>

Following up on this, @Lijia. Is there an update? The use case is, a person wants to self-register for Salesforce Experience Site (customer portal) access via Okta. Okta would need to present a form/widget to collect the user details (first name, last name, email address). This would then need to trigger a call-out to Salesforce to create a Salesforce Account, a Salesforce Contact, and a Salesforce User record. That Salesforce User record would be linked back to/identified in Okta via its Federation ID.

---

<div class="post-metadata">

**Author:** ![andrea](https://sea1.discourse-cdn.com/oktadev/user_avatar/devforum.okta.com/andrea/32/2172_2.png) [@andrea](https://devforum.okta.com/u/andrea)\
**Post date:** [February 13, 2024, 12:52am UTC](https://devforum.okta.com/t/okta-sign-in-widget-salesforce-community-integration/13930/5 "2024-02-13T00:52:36Z")

</div>

Closed on February 13, 2024, 12:52am UTC


