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:
@@ -0,0 +1 @@
|
||||
{"root":["./vite.config.ts"],"version":"5.8.3"}
|
||||
Reference in New Issue
Block a user