Skip to content

Commit

Permalink
Merge pull request #7449 from SamudraUduwaka/myaccount-fix
Browse files Browse the repository at this point in the history
Fix My Account URL in Passkey flow
  • Loading branch information
NipuniBhagya authored Jan 30, 2025
2 parents 943f10d + ea49e92 commit 9af5122
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 2 deletions.
5 changes: 5 additions & 0 deletions .changeset/small-camels-do.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@wso2is/identity-apps-core": patch
---

Fix My Account URL in Passkey flow
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<%--
~ Copyright (c) 2019-2023, WSO2 LLC. (https://www.wso2.com).
~ Copyright (c) 2019-2025, WSO2 LLC. (https://www.wso2.com).
~
~ WSO2 LLC. licenses this file to you under the Apache License,
~ Version 2.0 (the "License"); you may not use this file except
Expand Down Expand Up @@ -268,7 +268,8 @@
if (StringUtils.isNotEmpty(myaccountUrl)) {
myaccountUrl = myaccountUrl + "/t/" + tenantDomain;
} else {
myaccountUrl = ServiceURLBuilder.create().setTenant(tenantDomain).build().getAbsolutePublicURL();
myaccountUrl = IdentityManagementEndpointUtil.getUserPortalUrl(
application.getInitParameter(IdentityManagementEndpointConstants.ConfigConstants.USER_PORTAL_URL), tenantDomain);
}
%>

Expand Down

0 comments on commit 9af5122

Please sign in to comment.