To set up SSO locally in Spire:
- Run Spire on localhost port 80 and run Configured Commerce on localhost on a different port (for example, 8080)
- Set the apiUrl in the Spire
- The hostname that Spire runs on and the hostname that Configured Commerce runs on MUST be the same (localhost in this case; Azure AD only allows non https to redirect back to localhost)
- Set the redirect uri in Single Sign On for the ext client id to
http://localhost/identity/externalcallbackin the Admin Console
This SSO set up only works in Firefox. Chrome and Edge browsers block a required cookie when not running in https.
Updated 18 days ago