discourse/spec/components/auth
David Taylor 6230f5c554
FEATURE: Allow parameter authentication for UserApiKeys (#9742)
This refactors default_current_user_provider in a few ways:
- Introduce a generic `api_parameter_allowed?` method which checks for whitelisted routes/formats
- Only read the api_key parameter on allowed routes. It is now completely ignored on other routes (previously it would raise a 403)
- Start reading user_api_key parameter on allowed routes
- Refactor tests as end-end integration tests

A plugin API for PARAMETER_API_PATTERNS will be added soon
2020-05-12 13:35:36 +01:00
..
default_current_user_provider_spec.rb FEATURE: Allow parameter authentication for UserApiKeys (#9742) 2020-05-12 13:35:36 +01:00
discord_authenticator_spec.rb FEATURE: Login with Discord (#8053) 2019-08-30 10:54:19 +01:00
facebook_authenticator_spec.rb DEV: Prefabrication (test optimization) (#7414) 2019-05-07 13:12:20 +10:00
github_authenticator_spec.rb FIX: update GitHub screen_name on login via GitHub 2020-04-23 20:54:26 +05:30
google_oauth2_authenticator_spec.rb DEV: Prefabrication (test optimization) (#7414) 2019-05-07 13:12:20 +10:00
instagram_authenticator_spec.rb DEV: Prefabrication (test optimization) (#7414) 2019-05-07 13:12:20 +10:00
managed_authenticator_spec.rb UX: Ignore name parameter from IDP when it is equal to email (#8869) 2020-02-05 16:03:18 +00:00
twitter_authenticator_spec.rb DEV: Prefabrication (test optimization) (#7414) 2019-05-07 13:12:20 +10:00