diff --git a/src/openforms/prefill/sources.py b/src/openforms/prefill/sources.py index fd947c7780..fdf70b33c2 100644 --- a/src/openforms/prefill/sources.py +++ b/src/openforms/prefill/sources.py @@ -70,7 +70,12 @@ def invoke_plugin( if values: logevent.prefill_retrieve_success(submission, plugin, fields) else: - logevent.prefill_retrieve_empty(submission, plugin, fields) + if ( + plugin.requires_auth is None + or (auth_info := getattr(submission, "auth_info", None)) + and auth_info.attribute == plugin.requires_auth + ): + logevent.prefill_retrieve_empty(submission, plugin, fields) return fields, values invoke_plugin_args = []