Set up SSO locally in Spire
Describes requirements for setting up SSO locally in Spire.
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
settings.json
tohttp://localhost:8080
. - The hostname that Spire runs on and the hostname that Configured Commerce runs on MUST be the same (localhost in this case; Entra ID (formerly 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/externalcallback
in the Admin Console
Note
This SSO set up only works in Firefox. Chrome and Edge browsers block a required cookie when not running in https.
Updated 7 months ago