Skip to content

Commit

Permalink
Showing 3 changed files with 3 additions and 7 deletions.
Original file line number Diff line number Diff line change
@@ -2013,7 +2013,7 @@ private void setSpOIDCProperties(Map<String, List<String>> spOIDCProperties, OAu
} else {
// Enable hybrid flow with all configured response types
oauthApp.setHybridFlowEnabled(true);
String hybridFlowResponseType = String.join(", ", configuredHybridResponseTypes);
String hybridFlowResponseType = String.join(",", configuredHybridResponseTypes);
oauthApp.setHybridFlowResponseType(hybridFlowResponseType);
}
} else {
Original file line number Diff line number Diff line change
@@ -38,9 +38,7 @@

import java.util.ArrayList;
import java.util.Arrays;
import java.util.HashSet;
import java.util.List;
import java.util.Set;

import javax.servlet.http.HttpServletRequest;

Original file line number Diff line number Diff line change
@@ -374,12 +374,10 @@ public Object[][] hybridFlowValidationDataProvider() {

// Hybrid flow enabled but configured response type is different than requested.
{true, "code id_token token", "code token",
false, OAuth2ErrorCodes.INVALID_CLIENT, "Requested response type code token is not " +
"configured for the hybrid flow for the application."},
false, OAuth2ErrorCodes.INVALID_CLIENT, "invalid.response.type.for.hybrid.flow"},

{true, "code id_token token, code id_token", "code token",
false, OAuth2ErrorCodes.INVALID_CLIENT, "Requested response type code token is not " +
"configured for the hybrid flow for the application."}
false, OAuth2ErrorCodes.INVALID_CLIENT, "invalid.response.type.for.hybrid.flow"}
};
}

0 comments on commit f87aee7

Please sign in to comment.