Skip to content

Commit 49874ee

Browse files
committed
Merge branch 'hotfix/21.2.3'
2 parents 508f9b2 + 4048b79 commit 49874ee

3 files changed

Lines changed: 8 additions & 3 deletions

File tree

CHANGELOG.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,11 @@
22

33
We follow the CalVer (https://calver.org/) versioning scheme: YY.MINOR.MICRO.
44

5+
21.2.3 (05-03-2021)
6+
===================
7+
8+
Fix login URLs for cas-pac4j institution SSO
9+
510
21.2.2 (04-29-2021)
611
===================
712

src/main/java/io/cos/cas/osf/web/flow/login/OsfInstitutionLoginPreparationAction.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -110,7 +110,7 @@ private void putPac4jInstnLoginUrls(final RequestContext context) {
110110
} else {
111111
final String clientUrl = ((DelegatedClientIdentityProviderConfiguration) client).getRedirectUrl();
112112
pac4jInstitutionLoginUrlMap.put(clientName, clientUrl);
113-
LOGGER.warn("{}: {}", clientName, clientUrl);
113+
LOGGER.debug("Store PAC4J institution client [{}] with redirect URL [{}] in context", clientName, clientUrl);
114114
}
115115
}
116116
}

src/main/resources/templates/casInstitutionLoginView.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -93,11 +93,11 @@ <h2 th:utext="#{screen.institutionlogin.heading}"></h2>
9393
}
9494
if (institutionLoginUrl === "okstate") {
9595
/*<![CDATA[*/
96-
institutionLoginUrl = /*[[${okstateUrl}]]*/ '';
96+
institutionLoginUrl = /*[[${pac4jInstnLoginUrls.get('okstate')}]]*/ '';
9797
/*]]>*/
9898
} else if (institutionLoginUrl === "cord") {
9999
/*<![CDATA[*/
100-
institutionLoginUrl = /*[[${cordUrl}]]*/ '';
100+
institutionLoginUrl = /*[[${pac4jInstnLoginUrls.get('cord')}]]*/ '';
101101
/*]]>*/
102102
} else if (institutionLoginUrl === "fakecas") {
103103
/*<![CDATA[*/

0 commit comments

Comments
 (0)