devise_masquerade icon indicating copy to clipboard operation
devise_masquerade copied to clipboard

Rails 7 Unsafe redirects

Open marwann opened this issue 1 year ago • 0 comments

What would be the best way to bypass Rails 7 warnings with after_back_masquerade_path_for?

The error I get when I try to end the masquerade session, redirecting cross-domain:

ActionController::Redirecting::UnsafeRedirectError: Unsafe redirect to "https://admin.example.com", pass allow_other_host: true to redirect anyway.

marwann avatar Dec 22 '23 05:12 marwann