Skip to content

Commit 69737c9

Browse files
committed
Fix
1 parent 79d9eb8 commit 69737c9

File tree

1 file changed

+3
-7
lines changed

1 file changed

+3
-7
lines changed

proxies/live/apiproxy/targets/ers-target.xml

Lines changed: 3 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -163,10 +163,6 @@
163163
<Name>OauthV2.VerifyAccessToken</Name>
164164
</Step>
165165
<!-- Must be placed after Authentication -->
166-
<Step>
167-
<Name>FlowCallout.EUOAllowlistRequired</Name>
168-
<Condition>(accesstoken.auth_type == "user")</Condition>
169-
</Step>
170166
<Step>
171167
<Name>FlowCallout.ExtendedAttributes</Name>
172168
<Condition>(accesstoken.auth_type == "user")</Condition>
@@ -211,9 +207,8 @@
211207
<Flows>
212208
<Flow name="user-restricted-flow">
213209
<Condition>(accesstoken.auth_type == "user")</Condition>
214-
<Request><Step>
215-
<Name>FlowCallout.ExtendedAttributes</Name>
216-
</Step> <!--AUTHORISED_APPLICATION business function is not supported in user restricted flow --><Step>
210+
<Request>
211+
<!--AUTHORISED_APPLICATION business function is not supported in user restricted flow --><Step>
217212
<Name>RaiseFault.403Forbidden</Name>
218213
<Condition>(request.header.nhsd-ers-business-function == "AUTHORISED_APPLICATION")</Condition>
219214
</Step><Step>
@@ -264,6 +259,7 @@
264259
The Swapping of the Request Headers converts X-Correlation-ID to NHSD-Correlation-ID before sending to backend. -->
265260
<Name>AssignMessage.Swap.CorrelationHeader</Name>
266261
</Step></Request>
262+
<Response/>
267263
</Flow>
268264
<Flow name="app-restricted-flow">
269265
<Condition>(accesstoken.auth_type == "app")</Condition>

0 commit comments

Comments
 (0)