teamhanko / passkeys

FIDO2-certified passkey server and SDKs for adding passkey support to any auth system
https://hanko.io/passkey-api
GNU Affero General Public License v3.0
125 stars 10 forks source link

fix: fix cors config validation #25

Closed FreddyDevelop closed 11 months ago

FreddyDevelop commented 11 months ago

Use a pointer for allow_unsafe_wildcard otherwise the config can not be updated when allow_unsafe_wildcard: false. Because the validation library interprets the value false as not present (for more info see here).