File tree Expand file tree Collapse file tree 2 files changed +7
-3
lines changed
proxies/live/apiproxy/targets Expand file tree Collapse file tree 2 files changed +7
-3
lines changed Original file line number Diff line number Diff line change 154154 <Flows >
155155 <Flow name =" user-restricted-flow" >
156156 <Condition >(accesstoken.auth_type == "user")</Condition >
157- <Request ><!-- AUTHORISED_APPLICATION business function is not supported in user restricted flow --> <Step >
157+ <Request ><!-- AUTHORISED_APPLICATION business functions are not supported in user restricted flow --> <Step >
158158 <Name >RaiseFault.403Forbidden</Name >
159- <Condition >(request.header.nhsd-ers-business-function == "PROVIDER_AUTHORISED_APPLICATION") or (request.header.nhsd-ers-business-function == "REFERRER_AUTHORISED_APPLICATION")</Condition >
159+ <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 >
160160 </Step > <Step >
161161 <Name >AssignMessage.Set.x-ers-access-mode-header-user-restricted</Name >
162162 </Step > <Step >
Original file line number Diff line number Diff line change @@ -76,7 +76,11 @@ async def test_headers_on_echo_target(
7676 @pytest .mark .asyncio
7777 @pytest .mark .parametrize (
7878 "business_function" ,
79- ["PROVIDER_AUTHORISED_APPLICATION" , "REFERRER_AUTHORISED_APPLICATION" ],
79+ [
80+ "PROVIDER_AUTHORISED_APPLICATION" ,
81+ "REFERRER_AUTHORISED_APPLICATION" ,
82+ "AUTHORISED_APPLICATION" ,
83+ ],
8084 )
8185 async def test_headers_on_echo_target_with_app_restricted_business_function (
8286 self , business_function , authenticate_user , service_url
You can’t perform that action at this time.
0 commit comments