7 Add syntax highlighting hints.
source | link
<configuration xmlns:patch="http://www.sitecore.net/xmlconfig/">
  <sitecore>
    <unicorn>
      <!-- 
        Authentication Provider
        Provides a security protocol to determine who has access to the Unicorn Control Panel
      -->
      <authenticationProvider type="Unicorn.ControlPanel.Security.ChapAuthenticationProvider, Unicorn">
        <SharedSecret></SharedSecret>
          <ChallengeDatabase>web</ChallengeDatabase>
      </authenticationProvider>
      <!--
        Legacy provider: this provides Unicorn 2.x and 3.0.x behavior for the security token. Deprecated.
        <authenticationProvider type="Unicorn.ControlPanel.Security.LegacyAuthenticationProvider, Unicorn" />
      -->
    </unicorn>
<configuration xmlns:patch="http://www.sitecore.net/xmlconfig/">
  <sitecore>
    <unicorn>
      <!-- 
        Authentication Provider
        Provides a security protocol to determine who has access to the Unicorn Control Panel
      -->
      <authenticationProvider type="Unicorn.ControlPanel.Security.ChapAuthenticationProvider, Unicorn">
        <SharedSecret></SharedSecret>
          <ChallengeDatabase>web</ChallengeDatabase>
      </authenticationProvider>
      <!--
        Legacy provider: this provides Unicorn 2.x and 3.0.x behavior for the security token. Deprecated.
        <authenticationProvider type="Unicorn.ControlPanel.Security.LegacyAuthenticationProvider, Unicorn" />
      -->
    </unicorn>
<configuration xmlns:patch="http://www.sitecore.net/xmlconfig/">
  <sitecore>
    <unicorn>
      <!-- 
        Authentication Provider
        Provides a security protocol to determine who has access to the Unicorn Control Panel
      -->
      <authenticationProvider type="Unicorn.ControlPanel.Security.ChapAuthenticationProvider, Unicorn">
        <SharedSecret></SharedSecret>
          <ChallengeDatabase>web</ChallengeDatabase>
      </authenticationProvider>
      <!--
        Legacy provider: this provides Unicorn 2.x and 3.0.x behavior for the security token. Deprecated.
        <authenticationProvider type="Unicorn.ControlPanel.Security.LegacyAuthenticationProvider, Unicorn" />
      -->
    </unicorn>
<configuration xmlns:patch="http://www.sitecore.net/xmlconfig/">
  <sitecore>
    <unicorn>
      <!-- 
        Authentication Provider
        Provides a security protocol to determine who has access to the Unicorn Control Panel
      -->
      <authenticationProvider type="Unicorn.ControlPanel.Security.ChapAuthenticationProvider, Unicorn">
        <SharedSecret></SharedSecret>
          <ChallengeDatabase>web</ChallengeDatabase>
      </authenticationProvider>
      <!--
        Legacy provider: this provides Unicorn 2.x and 3.0.x behavior for the security token. Deprecated.
        <authenticationProvider type="Unicorn.ControlPanel.Security.LegacyAuthenticationProvider, Unicorn" />
      -->
    </unicorn>
6 added more details
source | link

Unicorn.UI.config looks like:

<configuration xmlns:patch="http://www.sitecore.net/xmlconfig/">
  <sitecore>
    <unicorn>
      <!-- 
        Authentication Provider
        Provides a security protocol to determine who has access to the Unicorn Control Panel
      -->
      <authenticationProvider type="Unicorn.ControlPanel.Security.ChapAuthenticationProvider, Unicorn">
        <SharedSecret></SharedSecret>
          <ChallengeDatabase>web</ChallengeDatabase>
      </authenticationProvider>
      <!--
        Legacy provider: this provides Unicorn 2.x and 3.0.x behavior for the security token. Deprecated.
        <authenticationProvider type="Unicorn.ControlPanel.Security.LegacyAuthenticationProvider, Unicorn" />
      -->
    </unicorn>

How it appears in sitecore/admin/showconfig.aspx

image

One thing to add. I have tried the sync locally through the Unicorn's web UI before trying to implement any of this. It worked fine. This issue only arose when I attempted to define a shared secret key to be able to use the API tool.

One thing to add. I have tried the sync locally through the Unicorn's web UI before trying to implement any of this. It worked fine. This issue only arose when I attempted to define a shared secret key to be able to use the API tool.

Unicorn.UI.config looks like:

<configuration xmlns:patch="http://www.sitecore.net/xmlconfig/">
  <sitecore>
    <unicorn>
      <!-- 
        Authentication Provider
        Provides a security protocol to determine who has access to the Unicorn Control Panel
      -->
      <authenticationProvider type="Unicorn.ControlPanel.Security.ChapAuthenticationProvider, Unicorn">
        <SharedSecret></SharedSecret>
          <ChallengeDatabase>web</ChallengeDatabase>
      </authenticationProvider>
      <!--
        Legacy provider: this provides Unicorn 2.x and 3.0.x behavior for the security token. Deprecated.
        <authenticationProvider type="Unicorn.ControlPanel.Security.LegacyAuthenticationProvider, Unicorn" />
      -->
    </unicorn>

How it appears in sitecore/admin/showconfig.aspx

image

One thing to add. I have tried the sync locally through the Unicorn's web UI before trying to implement any of this. It worked fine. This issue only arose when I attempted to define a shared secret key to be able to use the API tool.

5 Added Version details
source | link

Running Unicorn 3.3.0 RC5 / PowerShell ISE version 5.0.10586.117

Below is the script I am using in power shell to debug this issue:

Below is the script I am using in power shell to debug this issue:

Running Unicorn 3.3.0 RC5 / PowerShell ISE version 5.0.10586.117

Below is the script I am using in power shell to debug this issue:

4 added further detail
source | link
3 added further detail
source | link
2 Syntax highlighting
source | link
1
source | link