Skip to content

Commit

Permalink
Merge pull request #5746 from Kanapriya/passkey
Browse files Browse the repository at this point in the history
Fix myaccount url with the tenanted path in Access URLs
  • Loading branch information
brionmario authored Mar 14, 2024
2 parents 5a34be3 + 0e764a6 commit 7123724
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 2 deletions.
5 changes: 5 additions & 0 deletions .changeset/fair-bulldogs-collect.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@wso2is/identity-apps-core": patch
---

Fix myaccount url to contain tenanted path
Original file line number Diff line number Diff line change
Expand Up @@ -264,8 +264,10 @@

<%
String myaccountUrl = application.getInitParameter("MyAccountURL");
if (StringUtils.isEmpty(myaccountUrl)) {
myaccountUrl = ServiceURLBuilder.create().addPath(MY_ACCOUNT).build().getAbsolutePublicURL();
if (StringUtils.isNotEmpty(myaccountUrl)) {
myaccountUrl = myaccountUrl + "/t/" + tenantDomain;
} else {
myaccountUrl = ServiceURLBuilder.create().setTenant(tenantDomain).build().getAbsolutePublicURL();
}
%>

Expand Down

0 comments on commit 7123724

Please sign in to comment.