navigator.credentials is null on local server

here is my problem : I try to use the Credential Management API to access to authenticators on my webapp : navigator.credentials.create() and navigator.credentials.get(). I have no problem when I