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");