Skip to content

Commit 69fc476

Browse files
authored
Moved IS to a new section.
1 parent d57a457 commit 69fc476

File tree

1 file changed

+22
-21
lines changed

1 file changed

+22
-21
lines changed

security/README.md

Lines changed: 22 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -120,27 +120,6 @@ Gates with **Password** protection enabled prompt the user when no elevated sess
120120

121121
![Elevate Session State](../.gitbook/assets/security-elevatedsessionstate-password.png)
122122

123-
**Note:** If you are using Sitecore 9.1 or later with Identity Server, there is a configuration file that should be enabled.
124-
125-
* `Spe.IdentityServer.config`
126-
127-
```markup
128-
<configuration xmlns:patch="http://www.sitecore.net/xmlconfig/" xmlns:role="http://www.sitecore.net/xmlconfig/role/" xmlns:security="http://www.sitecore.net/xmlconfig/security/">
129-
<sitecore role:require="Standalone or ContentManagement" security:require="Sitecore">
130-
<pipelines>
131-
<owin.cookieAuthentication.validateIdentity>
132-
<processor type="Sitecore.Owin.Authentication.Pipelines.CookieAuthentication.ValidateIdentity.ValidateSiteNeutralPaths, Sitecore.Owin.Authentication">
133-
<siteNeutralPaths hint="list">
134-
<!-- This entry corrects the infinite loop of ExecuteCommand in the SPE Console -->
135-
<path hint="spe">/sitecore%20modules/PowerShell</path>
136-
</siteNeutralPaths>
137-
</processor>
138-
</owin.cookieAuthentication.validateIdentity>
139-
</pipelines>
140-
</sitecore>
141-
</configuration>
142-
```
143-
144123
**Content Editor**
145124

146125
A Content Editor Warning is displayed when a PowerShell Module, Script Library, and Script is selected. Click "Elevate session" to show the hidden fields and enable the management of the item.
@@ -362,3 +341,25 @@ For your convenience we've included a package bundled with all of the above call
362341

363342
* [Shields Down Example](https://alan-null.github.io/2017/01/spe-dev-config)
364343

344+
## Identity Server
345+
346+
**Note:** If you are using Sitecore 9.1 or later with Identity Server, there is a configuration file that should be enabled.
347+
348+
* `Spe.IdentityServer.config`
349+
350+
```markup
351+
<configuration xmlns:patch="http://www.sitecore.net/xmlconfig/" xmlns:role="http://www.sitecore.net/xmlconfig/role/" xmlns:security="http://www.sitecore.net/xmlconfig/security/">
352+
<sitecore role:require="Standalone or ContentManagement" security:require="Sitecore">
353+
<pipelines>
354+
<owin.cookieAuthentication.validateIdentity>
355+
<processor type="Sitecore.Owin.Authentication.Pipelines.CookieAuthentication.ValidateIdentity.ValidateSiteNeutralPaths, Sitecore.Owin.Authentication">
356+
<siteNeutralPaths hint="list">
357+
<!-- This entry corrects the infinite loop of ExecuteCommand in the SPE Console -->
358+
<path hint="spe">/sitecore%20modules/PowerShell</path>
359+
</siteNeutralPaths>
360+
</processor>
361+
</owin.cookieAuthentication.validateIdentity>
362+
</pipelines>
363+
</sitecore>
364+
</configuration>
365+
```

0 commit comments

Comments
 (0)