Skip to content

Missing status when warden redirects #189

Open
@michaelbaisch

Description

@michaelbaisch

Hello again,

looking at entries with process_action == hook, I noticed that the status is missing for entries that were redirected with the warden middleware. For redirects within my application with redirect_to, status is correctly set to 302.

I'm not too familiar warden and influxdb-rails/ActiveSupport::Notifications, but my guess is that it's due to the fact that it's another middleware.

If I understand correctly this is the code that does the actual redirect when a user is for example not authenticated:
https://github.com/heartcombo/devise/blob/main/lib/devise/failure_app.rb

Greetings,
Michael

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions