Skip to content

Fixed org auth url on AuthProvider page #520

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Nov 24, 2023
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Next Next commit
fix: org auth url
  • Loading branch information
raheeliftikhar5 committed Nov 22, 2023
commit f3fa5d754c7da378b76b55e87b4a50cdc06b36f7
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