Skip to content

Commit f2ebdb0

Browse files
"Claims for ID Token" and "Claims for UserInfo" in Authorization Page
1 parent 61f053e commit f2ebdb0

File tree

2 files changed

+25
-3
lines changed

2 files changed

+25
-3
lines changed

pom.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,8 @@
1212
<properties>
1313
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
1414

15-
<authlete.java.common.version>3.47</authlete.java.common.version>
16-
<authlete.java.jaxrs.version>2.55</authlete.java.jaxrs.version>
15+
<authlete.java.common.version>3.52</authlete.java.common.version>
16+
<authlete.java.jaxrs.version>2.56</authlete.java.jaxrs.version>
1717
<javax.servlet-api.version>3.0.1</javax.servlet-api.version>
1818
<jersey.version>2.30.1</jersey.version>
1919
<jetty.version>9.4.27.v20200227</jetty.version>

src/main/webapp/WEB-INF/template/authorization.jsp

Lines changed: 23 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<!doctype html>
22
<!--<%
33
/*
4-
* Copyright (C) 2016-2019 Authlete, Inc.
4+
* Copyright (C) 2016-2023 Authlete, Inc.
55
*
66
* Licensed under the Apache License, Version 2.0 (the "License");
77
* you may not use this file except in compliance with the License.
@@ -75,6 +75,28 @@
7575
</div>
7676
</c:if>
7777

78+
<c:if test="${model.claimsForIdToken != null}">
79+
<h4 id="claims-for-id_token">Claims for ID Token</h4>
80+
<div class="indent">
81+
<ul>
82+
<c:forEach var="claim" items="${model.claimsForIdToken}">
83+
<li>${claim}
84+
</c:forEach>
85+
</ul>
86+
</div>
87+
</c:if>
88+
89+
<c:if test="${model.claimsForUserInfo != null}">
90+
<h4 id="claims-for-userinfo">Claims for UserInfo</h4>
91+
<div class="indent">
92+
<ul>
93+
<c:forEach var="claim" items="${model.claimsForUserInfo}">
94+
<li>${claim}
95+
</c:forEach>
96+
</ul>
97+
</div>
98+
</c:if>
99+
78100
<c:if test="${model.identityAssuranceRequired}">
79101
<h4 id="identity-assurance">Identity Assurance</h4>
80102
<div class="indent">

0 commit comments

Comments
 (0)