Skip to content

Commit 495fee3

Browse files
committed
get correct auth token
1 parent e1f910d commit 495fee3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

methods/shared/common.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@ def get_auth(env, product, user="prescriber"):
8383
raise ValueError(f"Unknown product {product}")
8484
env = env.lower()
8585
url = f"https://{env}.api.service.nhs.uk/oauth2-mock"
86-
if product == "EPS-FHIR":
86+
if product in ["EPS-FHIR", "EPS-FHIR-DISPENSING", "EPS-FHIR-PRESCRIBING"]:
8787
authenticator = get_eps_fhir_authenticator(user, env, url)
8888
if product == "PFP-APIGEE":
8989
authenticator = get_pfp_apigee_authenticator(env, url)

0 commit comments

Comments
 (0)