discourse/spec/lib/auth
Alan Guo Xiang Tan 09b759b219
FIX: Twitter login problem check not reporting accurately (#35593)
This commit fixes a bug where we were using the twitter's oauth2
endpoint to check if the `twitter_consumer_key` and
`twitter_consumer_secret` has been configured
correctly. However, the request returns a 403 response code because of a
missing required param causing the problem check to fail.

Instead of fixing the request, the better thing to do is to ensure we do
the same checks that the `omniauth-oauth` gem does so that we are
actually validating the oauth flow.
2025-10-24 09:42:58 -04:00
..
default_current_user_provider_spec.rb FIX: Don't update last_seen_at when impersonating a user (#34872) 2025-10-02 11:17:15 +08:00
discord_authenticator_spec.rb DEV: Fix username/name mapping for Discord auth (#31494) 2025-02-25 17:33:26 +11:00
discourse_id_authenticator_spec.rb DEV: Remove unnecessary rails_helper requires (#33812) 2025-07-24 13:50:04 +02:00
facebook_authenticator_spec.rb DEV: Allow fab! without block (#24314) 2023-11-09 16:47:59 -06:00
github_authenticator_spec.rb DEV: Allow fab! without block (#24314) 2023-11-09 16:47:59 -06:00
google_oauth2_authenticator_spec.rb DEV: Allow fab! without block (#24314) 2023-11-09 16:47:59 -06:00
linkedin_oidc_authenticator_spec.rb FEATURE: Allow users to sign in using LinkedIn OpenID Connect (#26281) 2024-04-19 18:47:30 +08:00
managed_authenticator_spec.rb DEV: Fix linting and test for b1ea35bb30 (#34688) 2025-09-02 13:43:34 -04:00
result_spec.rb DEV: Apply syntax_tree formatting to spec/* 2023-01-09 11:49:28 +00:00
twitter_authenticator_spec.rb FIX: Twitter login problem check not reporting accurately (#35593) 2025-10-24 09:42:58 -04:00