Skip to content

Commit 2110761

Browse files
committed
fix
1 parent 7803c89 commit 2110761

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -244,8 +244,8 @@
244244
<Flow name="user-restricted-flow">
245245
<Condition>(accesstoken.auth_type == "user")</Condition>
246246
<Request><!-- AUTHORISED_APPLICATION business function is not supported in user restricted flow --><Step>
247-
<Name>RaiseFault.403Forbidden</Name>
248-
<Condition>(request.header.nhsd-ers-business-function == "AUTHORISED_APPLICATION")</Condition>
247+
<Name>RaiseFault.InvalidBusinessFunction</Name>
248+
<Condition>(request.header.nhsd-ers-business-function == "PROVIDER_AUTHORISED_APPLICATION") or (request.header.nhsd-ers-business-function == "REFERRER_AUTHORISED_APPLICATION") or (request.header.nhsd-ers-business-function == "AUTHORISED_APPLICATION")</Condition>
249249
</Step> <Step>
250250
<Name>AssignMessage.Set.x-ers-access-mode-header-user-restricted</Name>
251251
</Step> <Step>

0 commit comments

Comments
 (0)