ory / kratos-selfservice-ui-node

Apache License 2.0
314 stars 207 forks source link

/logout endpoint is not working #302

Open leodotcloud opened 11 months ago

leodotcloud commented 11 months ago

Preflight checklist

Ory Network Project

No response

Describe the bug

When navigating to the /logout route, it's not working. Looking at the source code, a confirmation needs to be shown.

Reproducing the bug

  1. Clone this repo
  2. Start: npm start
  3. Navigate to browser 127.0.0.1:4000, register and login
  4. Either navigate to 127.0.0.1:4000/logout or 127.0.0.1:4000/logout?logout_challenge=ory_lo_xxxxxx, an error message is shown. Logout doesn't work.

Relevant log output

No response

Relevant configuration

No response

Version

v1.0.0

On which operating system are you observing this issue?

None

In which environment are you deploying?

None

Additional Context

Version: v1.0.0 Build Commit: 41b7c51c1c6b3bdff9e9ea8bb5e455e3c15c5256 Build Timestamp: 2023-07-12T19:54:42Z

leodotcloud commented 11 months ago

Relevant PR: https://github.com/ory/kratos-selfservice-ui-node/pull/294