-
Notifications
You must be signed in to change notification settings - Fork 267
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add CIBA success page #7685
base: master
Are you sure you want to change the base?
Add CIBA success page #7685
Conversation
@@ -0,0 +1,5 @@ | |||
--- | |||
"@wso2is/identity-apps-core": patch |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Since this is an improvement, let's update to minor
"@wso2is/identity-apps-core": patch | |
"@wso2is/identity-apps-core": minor |
@@ -462,6 +467,11 @@ | |||
<url-pattern>/device_success.do</url-pattern> | |||
</servlet-mapping> | |||
|
|||
<servlet-mapping> | |||
<servlet-name>ciba_success.do</servlet-name> | |||
<url-pattern>/ciba_success.do</url-pattern> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This will make ciba_success
url appear in the end user's browser. Showing an unnecessary tech term wouldn't look good IMO. Shall we use a generic yet relevant name instead?
@@ -0,0 +1,115 @@ | |||
<%-- | |||
~ Copyright (c) 2019-2023, WSO2 LLC. (https://www.wso2.com). |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
~ Copyright (c) 2019-2023, WSO2 LLC. (https://www.wso2.com). | |
~ Copyright (c) 2025, WSO2 LLC. (https://www.wso2.com). |
<% } %> | ||
</head> | ||
<body class="login-portal layout authentication-portal-layout" onload="loadFunc()"> | ||
<layout:main layoutName="<%= layout %>" layoutFileRelativePath="<%= layoutFileRelativePath %>" data="<%= layoutData %>" > |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
<layout:main layoutName="<%= layout %>" layoutFileRelativePath="<%= layoutFileRelativePath %>" data="<%= layoutData %>" > | |
<layout:main layoutName="<%= layout %>" layoutFileRelativePath="<%= layoutFileRelativePath %>" data="<%= layoutData %>"> |
<p class="portal-tagline-description"> | ||
<%=AuthenticationEndpointUtil.i18n(resourceBundle, "login.success.app")%> | ||
<%= Encode.forHtmlAttribute(request.getParameter("app_name"))%> | ||
<%=AuthenticationEndpointUtil.i18n(resourceBundle, "close.browser")%> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Let's use the new i18n
function from localize.jsp here.
Ref:
identity-apps/identity-apps-core/apps/authentication-portal/src/main/webapp/pushAuth.jsp
Line 192 in 3c1d844
<%=i18n(resourceBundle, customText, "push.notification.sent.msg")%> |
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## master #7685 +/- ##
=======================================
Coverage 41.85% 41.85%
=======================================
Files 42 42
Lines 939 939
Branches 238 217 -21
=======================================
Hits 393 393
Misses 546 546
Flags with carried forward coverage won't be shown. Click here to find out more. |
$subject
Related Issues
Related PRs