mirror of
https://gh.wpcy.net/https://github.com/discourse/discourse.git
synced 2026-05-21 05:54:19 +08:00
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. |
||
|---|---|---|
| .. | ||
| default_current_user_provider_spec.rb | ||
| discord_authenticator_spec.rb | ||
| discourse_id_authenticator_spec.rb | ||
| facebook_authenticator_spec.rb | ||
| github_authenticator_spec.rb | ||
| google_oauth2_authenticator_spec.rb | ||
| linkedin_oidc_authenticator_spec.rb | ||
| managed_authenticator_spec.rb | ||
| result_spec.rb | ||
| twitter_authenticator_spec.rb | ||