KindeK
Kinde•2y ago•
65 replies
DJKnaeckebrot

Post Logout Redirect Parameter

Hi there! I am using Next 13.4.19 with "@kinde-oss/kinde-auth-nextjs": "^2.1.10"

I am trying to change the post logout URL for a single page.

I have tried /api/auth/logout?post_logout_redirect_url=/logout?from=logout but this keept sending me to / which is my default after logout url.

I even tried making it with the logout link
import {
  LogoutLink
} from "@kinde-oss/kinde-auth-nextjs/components";
...
return (
      <>
        <LogoutLink postLogoutRedirectURL={"/logout?from=logout"}>
          Text
        </LogoutLink>
      </>
    );


But this also sends me back to /
This is intended or am I experiencing some bug or just made a mistake in the config?

Thanks for your help! 🙂
Was this page helpful?