How do I get single-sign-on to work with auth0-javascript-samples/02-Calling-an-API?

I figured out the answer to my problem. It had nothing to do with using Embedded Login. Universal Login is used by the Auth0-provided project I was using, which I fetched directly from GitHub.

The problem turned out to be that there are a bunch of Auth0 Dashboard settings that must be set just so, or session cookies get lost, and SSO doesn’t work. Also, for using Google as my identity provider, which is what I am doing, you have to get credentials from Google. When you go to turn this on in the Dashboard under Connections => Social, the directions there say that you can use Auth0-provided developer credentials, but I guess I missed at the time that if you do this, then SSO won’t work.

There is a link provided there, however, to the Google page that allows you to set this up properly for SSO to work.

|>ouglas

2 Likes