GUACAMOLE-1364: Correct naming of SAML auth field and translation.

This commit is contained in:
Michael Jumper committed 2021-11-25 18:44:46 -08:00
1 parent 817f19290d
commit ba93d17265
2 files changed
+3 -2

No files matched your search

@@ -14,7 +14,7 @@
"LOGIN" : {
"FIELD_HEADER_ID_TOKEN" : "",
"FIELD_HEADER_SAML" : "",
"FIELD_HEADER_STATE" : "",
"FIELD_HEADER_TICKET" : "",
"INFO_IDP_REDIRECT_PENDING" : "Please wait, redirecting to identity provider..."
}
@@ -110,7 +110,8 @@ public class AuthenticationProviderService {
URI authUri = saml.createRequest();
throw new GuacamoleInsufficientCredentialsException("Redirecting to SAML IdP.",
new CredentialsInfo(Arrays.asList(new Field[] {
new RedirectField("samlRedirect", authUri, new TranslatableMessage("LOGIN.INFO_IDP_REDIRECT_PENDING"))
new RedirectField(AUTH_SESSION_QUERY_PARAM, authUri,
new TranslatableMessage("LOGIN.INFO_IDP_REDIRECT_PENDING"))
}))
);