From 5290bedc776f4bc2a2c03815d4a68c6b13c727b8 Mon Sep 17 00:00:00 2001
From: Luka Radenovic <luka@init.hr>
Date: Wed, 19 Jan 2022 11:36:12 +0100
Subject: [PATCH] Fix authorization_response param

---
 helpers/hydra_oauth.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/helpers/hydra_oauth.py b/helpers/hydra_oauth.py
index 9985a50a..cdf79234 100644
--- a/helpers/hydra_oauth.py
+++ b/helpers/hydra_oauth.py
@@ -31,7 +31,7 @@ class HydraOauth:
                 TOKEN_URL,
                 client_secret=HYDRA_CLIENT_SECRET,
                 authorization_response="https://dashboard.init.stackspin.net"
-                + request.get_full_path(),
+                + request.path,
             )
 
             session["hydra_token"] = token
-- 
GitLab