Skip to content

Commit bc8d3dc

Browse files
committed
auth redirect on logout fix
1 parent 3d2dfce commit bc8d3dc

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

apps/sensenet/src/services/auth-config.ts

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -15,10 +15,7 @@ export const getAuthConfig = async (repoUrl: string) => {
1515
redirect_uri: window.location.origin + PATHS.loginCallback.appPath,
1616
response_type: 'code',
1717
scope: 'openid profile sensenet',
18-
post_logout_redirect_uri: pathWithQueryParams({
19-
path: window.location.origin,
20-
newParams: { repoUrl },
21-
}),
18+
post_logout_redirect_uri: window.location.origin,
2219
silent_redirect_uri: window.location.origin + PATHS.silentCallback.appPath,
2320
extraQueryParams: { snrepo: trimmedRepoUrl },
2421
}

0 commit comments

Comments
 (0)