fix(auth): validate WebAuthn rp.id against current host

Add ensureValidRpId helper to validate and correct rp.id for WebAuthn
operations, preventing authentication failures when the configured rp.id
doesn't match the current hostname. Also add OAuthProvider type and fix
type casting in LoginPage.
This commit is contained in:
2026-02-24 01:20:41 +10:30
parent e854bf801e
commit 5c2971e38d
5 changed files with 27 additions and 3 deletions
+1
View File
@@ -0,0 +1 @@
{"root":["./vite.config.ts"],"version":"5.8.3"}