Skip to content
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

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open

Add CIBA success page #7685

wants to merge 2 commits into from

Conversation

@@ -0,0 +1,5 @@
---
"@wso2is/identity-apps-core": patch
Copy link
Member

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

Suggested change
"@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>
Copy link
Member

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).
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
~ 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 %>" >
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
<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")%>
Copy link
Member

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:

<%=i18n(resourceBundle, customText, "push.notification.sent.msg")%>

Copy link

codecov bot commented Feb 19, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 41.85%. Comparing base (e657fb2) to head (79a9cdc).
Report is 410 commits behind head on master.

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           
Flag Coverage Δ
@wso2is/core 41.85% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants