From 086b12cee31c20258c1c750eead98db4f075efb5 Mon Sep 17 00:00:00 2001 From: gsd Date: Fri, 20 Oct 2023 13:59:23 +0300 Subject: [PATCH] new front update 5 fix auth --- src/main/java/app/services/steam/SteamSignIn.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/main/java/app/services/steam/SteamSignIn.java b/src/main/java/app/services/steam/SteamSignIn.java index 9b9110e..128348b 100644 --- a/src/main/java/app/services/steam/SteamSignIn.java +++ b/src/main/java/app/services/steam/SteamSignIn.java @@ -72,8 +72,8 @@ public class SteamSignIn { HashMap authParameters = new HashMap<>(); authParameters.put("openid.ns", "http://specs.openid.net/auth/2.0"); authParameters.put("openid.mode", "checkid_setup"); - authParameters.put("openid.return_to", responseURL.replace("tf2", subdomain) + "/" + (authentication_discord?"disco":"root")); - authParameters.put("openid.realm", responseURL.replace("tf2", subdomain) + "/" + (authentication_discord?"disco":"root")); + authParameters.put("openid.return_to", responseURL.replace("tf2", subdomain) + "/" + (authentication_discord?"disco":"root") + "/" + subdomain); + authParameters.put("openid.realm", responseURL.replace("tf2", subdomain) + "/" + (authentication_discord?"disco":"root") + "/" + subdomain); authParameters.put("openid.identity", "http://specs.openid.net/auth/2.0/identifier_select"); authParameters.put("openid.claimed_id", "http://specs.openid.net/auth/2.0/identifier_select");