Well… here’s where I tell you it’s 2013 (it is in prod).
The setup itself is simple and straight-forward. You will note that it’s ultimately just a classic/universal login with the wsfed parameter set. You can easily use lock.js and customize it exactly like anything else (which is where I was using connectionResolver).
However, I’m not sure how to emulate that using Auth0.js, since I need it to be a little more customized. I can login just fine (logs show success), I just don’t know how to redirect back to SharePoint appropriately. If this was lock, I would just say don’t redirect, build the proper authorize link, then redirecrt, and it would silently federated and redirect on to my app/SharePoint site. I can’t seem to emulate that flow with auth0.js.
I realize this is a little bit non-standard… but I really just want to login to SharePoint using an embedded login/Auth0.Js that I can freely customize. Everything is exactly like your directions… So the setup is vanilla.