I am using the Lock widget, does a custom LOGO have to be a URL only?

I have a logo in my application which I want to use as my custom lock logo, is this possible?

I have only seen it work with a public url.

The logo must be accessible via a public GET request. I suggest the image be placed in a public static directory of your application, e.g. https://myapp.com/images/logo.png