rohityadavcloud commented on code in PR #6451:
URL: https://github.com/apache/cloudstack/pull/6451#discussion_r895596015
##########
plugins/user-authenticators/saml2/src/main/java/org/apache/cloudstack/saml/SAMLUtils.java:
##########
@@ -150,6 +150,9 @@ public static String buildAuthnRequestUrl(final String
authnId, final SAMLProvid
if (spMetadata.getKeyPair() != null) {
privateKey = spMetadata.getKeyPair().getPrivate();
}
+ if
(idpMetadata.getEntityId().startsWith("https://accounts.google.com/o/saml2?idpid="))
{
Review Comment:
or search for `?` in the idp entity url and based on that use correct
concatenation strategy? (+ plus add unit tests)
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]