Skip to content

Commit 431795f

Browse files
authored
Fix: [AEA-0000] - use google for callback url (#407)
## Summary - Routine Change ### Details - use google for callback url
1 parent 4c34507 commit 431795f

File tree

3 files changed

+239
-157
lines changed

3 files changed

+239
-157
lines changed

methods/shared/common.py

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,11 @@ def get_eps_fhir_authenticator(user, env, url, product):
4747
config = AuthorizationCodeConfig(
4848
environment=env,
4949
identity_service_base_url=url, # pyright: ignore [reportArgumentType]
50-
callback_url="https://example.org/", # pyright: ignore [reportArgumentType]
50+
# this should be the callback url registered for the apigee application
51+
# changed from example.org so it is responsive
52+
# if this url is unavailable, then you will see tests fail on a request to keycloak
53+
# as keycloak returns a 302 eventually to a this callback url.
54+
callback_url="https://google.com/", # pyright: ignore [reportArgumentType]
5155
client_id=client_id,
5256
client_secret=client_secret,
5357
scope=scope,
@@ -69,7 +73,11 @@ def get_pfp_apigee_authenticator(env, url):
6973
config = AuthorizationCodeConfig(
7074
environment=env,
7175
identity_service_base_url=url, # pyright: ignore [reportArgumentType]
72-
callback_url="https://example.org/", # pyright: ignore [reportArgumentType]
76+
# this should be the callback url registered for the apigee application
77+
# changed from example.org so it is responsive
78+
# if this url is unavailable, then you will see tests fail on a request to keycloak
79+
# as keycloak returns a 302 eventually to a this callback url.
80+
callback_url="https://google.com/", # pyright: ignore [reportArgumentType]
7381
client_id=client_id,
7482
client_secret=client_secret,
7583
scope=scope,

0 commit comments

Comments
 (0)