Skip to content

Commit 5836d44

Browse files
committed
fix - the sso redirection in handlesso function
1 parent 09ad24b commit 5836d44

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

shared.go

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18922,7 +18922,8 @@ func HandleSSO(resp http.ResponseWriter, request *http.Request) {
1892218922
}
1892318923

1892418924
if len(backendUrl) > 0 {
18925-
redirectUrl = fmt.Sprintf("%s/workflows", backendUrl)
18925+
//we don't need to add /workflow path in backend url as backend url is SSO_REDIRECT_URL and it is already pointing to /workflow by default.
18926+
redirectUrl = backendUrl
1892618927
}
1892718928

1892818929
if project.Environment == "cloud" {

0 commit comments

Comments
 (0)