asbiin / laravel-webauthn

Webauthn adapter for Laravel
MIT License
266 stars 37 forks source link

The relying party ID is not a registrable domain suffix of, nor equal to the current domain #490

Open ccaa7530 opened 1 month ago

ccaa7530 commented 1 month ago

In an application with front-end and back-end separation, I encountered the error "The relying party ID is not a registrable domain suffix of, nor equal to the current domain" because the rp id in the returned publicKey is the complete domain name of the api server. I think it should be Users can set it themselves or set the root domain, such as "site.dev"