Skip to content

Commit

Permalink
redirect back to user_pod?
Browse files Browse the repository at this point in the history
  • Loading branch information
NotChristianGarcia committed Nov 23, 2024
1 parent cfd9b8a commit 9f85d16
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions service/api_pods_podid_func.py
Original file line number Diff line number Diff line change
Expand Up @@ -500,6 +500,7 @@ def callback(pod_id_net, request: Request):
# response = JSONResponse(content=content, status_code=200)
# response = RedirectResponse(url=f"https://{tapis_domain}/v3/pods/{pod_id_net}/auth", status_code=302, headers={"X-Tapis-Username": username, "X-Tapis-Token": token})
response = JSONResponse(content=content, status_code=200)
response = RedirectResponse(url=f"https://{tapis_domain}/v3/pods/{pod_id_net}", status_code=302, headers={"X-Tapis-Username": username, "X-Tapis-Token": token})

domain = conf.get('COOKIE_DOMAIN', f"{tapis_domain}")
logger.debug(f"About to set cookies. domain: {domain}, net_info.url: {net_info.url}")
Expand Down

0 comments on commit 9f85d16

Please sign in to comment.