Skip to content

Commit f8077f2

Browse files
authored
Merge pull request #520 from raheeliftikhar5/org-auth-url-fix
Fixed org auth url on AuthProvider page
2 parents 55733fe + 213950b commit f8077f2

File tree

1 file changed

+1
-2
lines changed
  • client/packages/lowcoder/src/pages/setting/idSource

1 file changed

+1
-2
lines changed

client/packages/lowcoder/src/pages/setting/idSource/list.tsx

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -54,8 +54,7 @@ export const IdSourceList = (props: any) => {
5454
currentDomain += `:${port}`;
5555
}
5656

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

6059
useEffect(() => {
6160
if (!currentOrgId) {

0 commit comments

Comments
 (0)