I'm attempting to implement Embedded Login so my web interfaces can leverage SalesForce as a logged in user. I'm able to get a successful login however the login js function does not fire which breaks the whole experience.
I've followed all the steps here at least 3 times and am at a loss for why:
https://developer.salesforce.com/docs/atlas.en-us.externalidentityImplGuide.meta/externalidentityImplGuide/external_identity_login_intro.htm
My login form is here:
https://www.flxos.io/Sample-Login/old_index.html
and my callback is here:
https://www.flxos.io/Sample-Login/_callback.html
I've done everything from setting the CORS for my domain, wildcard subdomains and root domain to creating and delegting the apps at least 3 times.
When I use the Popup style i'm able to login, the popup disappears however nothing happens on the original page. When I use navigate to my community I'm logged in.
I can't get the modal style to actually show me the login form and I'm not sure why.
There's not a lot of info out there, I found this mention but they've long since fixed their typo:
https://salesforce.stackexchange.com/questions/186087/embedded-login-onlogin-function-not-being-called-after-successful-login
Here's hoping someone has worked with Embedded Login flows!