discourse/lib/auth
Ted Johansson b24a3d81ed
DEV: Allow impersonation without session swapping (#34213)
The current impersonation feature works by signing you in as the user you are impersonating. This has the side effect of invalidating your own session and forcing you to log out and in again.

In this experimental implementation you keep your existing session, but DefaultCurrentUserProvider returns the user being impersonated, allowing you to see the site from their perspective.
2025-08-21 14:18:15 +08:00
..
auth_provider.rb FEATURE: add link to "associated accounts" providers (#33275) 2025-06-20 10:22:29 +02:00
authenticator.rb FEATURE: add link to "associated accounts" providers (#33275) 2025-06-20 10:22:29 +02:00
current_user_provider.rb DEV: Allow impersonation without session swapping (#34213) 2025-08-21 14:18:15 +08:00
default_current_user_provider.rb DEV: Allow impersonation without session swapping (#34213) 2025-08-21 14:18:15 +08:00
discord_authenticator.rb FEATURE: add link to "associated accounts" providers (#33275) 2025-06-20 10:22:29 +02:00
discourse_id_authenticator.rb FEATURE: pass email to external auth on signup (#33559) 2025-07-15 16:17:01 +02:00
facebook_authenticator.rb FEATURE: add link to "associated accounts" providers (#33275) 2025-06-20 10:22:29 +02:00
github_authenticator.rb FEATURE: add link to "associated accounts" providers (#33275) 2025-06-20 10:22:29 +02:00
google_oauth2_authenticator.rb FEATURE: add link to "associated accounts" providers (#33275) 2025-06-20 10:22:29 +02:00
linkedin_oidc_authenticator.rb FEATURE: add link to "associated accounts" providers (#33275) 2025-06-20 10:22:29 +02:00
managed_authenticator.rb FIX: 'destination_url' cookie handling (#33072) 2025-08-06 10:09:01 +02:00
oauth_faraday_formatter.rb DEV: Include a basic oauth faraday formatter in core for usage in managed authenticators (#28758) 2024-09-05 22:29:29 +08:00
result.rb DEV: Add code comments around oauth user-api-key/new handling (#31774) 2025-03-12 14:01:20 -04:00
twitter_authenticator.rb FEATURE: add link to "associated accounts" providers (#33275) 2025-06-20 10:22:29 +02:00