Skip to content

Commit

Permalink
Fix tenant null issue in self registration flow
Browse files Browse the repository at this point in the history
  • Loading branch information
sumedhe committed Jan 10, 2025
1 parent 08e3590 commit fb7ff5f
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 4 deletions.
5 changes: 5 additions & 0 deletions .changeset/nine-meals-cross.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@wso2is/identity-apps-core": patch
---

Fix tenant null issue in self registration flow
Original file line number Diff line number Diff line change
Expand Up @@ -301,13 +301,14 @@
loginContextRequestUrl += "&tenantDomain=" + tenantDomain;
}
String t = Encode.forUriComponent(request.getParameter("t"));
String ut = Encode.forUriComponent(request.getParameter("ut"));
String t = request.getParameter("t");
String ut = request.getParameter("ut");
if (StringUtils.isNotBlank(t)) {
loginContextRequestUrl += "&t=" + t;
loginContextRequestUrl += "&t=" + Encode.forUriComponent(t);
}
if (StringUtils.isNotBlank(ut)) {
loginContextRequestUrl += "&ut=" + ut;
loginContextRequestUrl += "&ut=" + Encode.forUriComponent(ut);
}
if (StringUtils.isNotBlank(usernameIdentifier)) {
Expand Down

0 comments on commit fb7ff5f

Please sign in to comment.