Skip to content

[Bug]: Passkey login fails to preserve redirect_url, redirecting to /unread instead of the original destination #4494

Description

@segln

Bug Summary

Redirection fails after passkey login.

Description

If the user authenticates with password the redirect works flawlessly but if the user authenticates with passkey, redirect_url state is ignored after authentication and the user is incorrectly routed to /unread.

Steps to Reproduce

  1. Run Miniflux behind a reverse proxy with HTTPS enabled (required for passkey).
  2. Navigate to https://rss.example.com/bookmarklet?uri=https://example.com/rss
  3. Authenticate using a passkey.

Expected Behavior

Upon successful passkey authentication, miniflux should navigate the user to the originally requested URL (/bookmarklet?uri=https://example.com/rss).

Actual Behavior

redirect_url parameter is dropped during the state transition. User is redirected to /unread.

Version

2.3.3

Browser

Chrome, Firefox (Clean profile)

Checklist

  • I have searched existing issues to ensure this bug hasn't been reported before.

Metadata

Metadata

Assignees

No one assigned

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions