Invalid domain
I am getting invalid domain errors when using loopback or class c as host. It needs to be a mapped domain hostname. So the example won't work. I am hoping to implement this on a console that would first be loaded as class C to set it up.
I don't understand what you mean, you'll need to provide more information. Which example are you referring to, the server example? Where are you getting these errors? Can you provide the errors?
When loading the server example on localhost / 127.0.0.1 or c class / 192.168.0.1 I get that exact error and will fail.
I was hoping to integrate it into an RPI console. But seems it needs static mapping in routers with a domain. I think it's in the spec for some reason to block such requests which leaves out easy integration into IOT consoles, RPI, NAS, Routers.
https://github.com/Yubico/python-fido2/tree/master/examples/server
I'm not clear on where exactly the authentication is happening. Is this from a web browser? If so, is it running on the RPI itself, or on a separate client? Is the authenticating server the RPI, or something else?
If the client can only use an IP address to target the server (can't use localhost, or an entry in hosts) then you are correct that the browser will not allow such a request as it is against the spec (see https://github.com/w3c/webauthn/issues/1358).
Closing due to lack of activity, feel free to comment or re-open if needed.