OIDC plugin: File resource is null, no bytes will be returned

Martin Hitschel Martin.Hitschel at DAASI.de
Tue Feb 6 11:06:54 UTC 2024


Hi team great,

I occasionally see this in the IdP logs:

2024-02-06 11:17:41,192 - n/a - WARN
[net.shibboleth.oidc.metadata.cache.impl.DefaultFileLoadingStrategy:63]
- File resource is null, no bytes will be returned

Is this due to mis-configuraton of the OIDC plugin, and how should one
proceed to not have this warning? FWIW, I have

  <util:list id="shibboleth.oidc.ClientInformationResolvers">
       <ref bean="ExampleFileResolver" />
       <ref bean="ExampleStorageClientInformationResolver" />
   </util:list>

   <bean id="ExampleFileResolver"
parent="shibboleth.oidc.FilesystemClientInformationResolver"
       c:metadata="%{idp.home}/metadata/oidc-client.json" />

   <bean id="ExampleStorageClientInformationResolver"
parent="shibboleth.oidc.StorageClientInformationResolver"
       p:storageService-ref="#{'%{idp.oidc.dynreg.StorageService:shibboleth.StorageService}'.trim()}"
/>

...and metadata/oidc-client.json actually does have content. I see this
in 4.3.1, with the recent OIDC plugins.

Regards

Martin

-- 
Dr. Martin Hitschel, Senior Consultant

DAASI International
Europaplatz 3                   
D-72072 Tübingen                
Germany                    

phone: +49 7071 407109-0
fax:   +49 7071 407109-9  
email: martin.hitschel at daasi.de
web:   www.daasi.de

Sitz der Gesellschaft: Tübingen
Registergericht: Amtsgericht Stuttgart, HRB 382175
Geschäftsleitung: Peter Gietz
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://shibboleth.net/pipermail/users/attachments/20240206/ea69fbff/attachment.htm>


More information about the users mailing list