lib/rodauth/features/oauth_pkce.rb in rodauth-oauth-0.8.0 vs lib/rodauth/features/oauth_pkce.rb in rodauth-oauth-0.9.0

- old
+ new

@@ -21,10 +21,10 @@ auth_value_method :unsupported_transform_algorithm_error_code, "invalid_request" translatable_method :unsupported_transform_algorithm_message, "transform algorithm not supported" private - def authorized_oauth_application?(oauth_application, client_secret) + def authorized_oauth_application?(oauth_application, client_secret, _) return true if use_oauth_pkce? && param_or_nil("code_verifier") super end