Skip to content

Commit

Permalink
Merge pull request #520 from raheeliftikhar5/org-auth-url-fix
Browse files Browse the repository at this point in the history
Fixed org auth url on AuthProvider page
  • Loading branch information
FalkWolsky authored Nov 24, 2023
2 parents 55733fe + 213950b commit f8077f2
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions client/packages/lowcoder/src/pages/setting/idSource/list.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -54,8 +54,7 @@ export const IdSourceList = (props: any) => {
currentDomain += `:${port}`;
}

const redirectUrl = encodeURIComponent(`${protocol}//${currentDomain}/apps`);
const loginUrl = `${protocol}//${currentDomain}/org/${currentOrgId}/auth/login?redirectUrl=${encodeURIComponent(redirectUrl)}`;
const loginUrl = `${protocol}//${currentDomain}/org/${currentOrgId}/auth/login`;

useEffect(() => {
if (!currentOrgId) {
Expand Down

0 comments on commit f8077f2

Please sign in to comment.