Skip to content

Commit

Permalink
Fix lint issues.
Browse files Browse the repository at this point in the history
  • Loading branch information
nipunsampath committed Nov 5, 2023
1 parent 3b770b3 commit 5f855f2
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion lib/src/core/authentication-core.ts
Original file line number Diff line number Diff line change
Expand Up @@ -556,7 +556,8 @@ export class AuthenticationCore<T> {
"No sign-in redirect URL has been found either. "
);
}
const queryParams = new URLSearchParams();
const queryParams: URLSearchParams = new URLSearchParams();

queryParams.set("post_logout_redirect_uri", callbackURL);

if (configData.sendIdTokenInLogoutRequest) {
Expand All @@ -575,6 +576,7 @@ export class AuthenticationCore<T> {
}

queryParams.set("state", SIGN_OUT_SUCCESS_PARAM);

return `${logoutEndpoint}?${queryParams.toString()}`;
}

Expand Down

0 comments on commit 5f855f2

Please sign in to comment.