Comments (8)
ok @MasterKale. I will try to think of a way to overcome this use of the IP. thank you very much.
from simplewebauthn.
For the record, I couldn't make it work with ngrok, but when I did a full publish to an internet environment, both registration and authentication went fine. Thanks again.
from simplewebauthn.
Hello @joaomelo, can you provide a couple more bits of info to help diagnose this?
- What is your local development URL?
- Can you provide the full error stack trace you're seeing in the console? There should also be a
cause
property on errors raised withinstartAuthentication()
that will be any error raised by thenavigator.credentials.get()
call
from simplewebauthn.
Hi @MasterKale.
Thank you very much for quickly responding; I updated the issue with more context. I hope I was as able to provide the information you requested.
Best regards.
JM
from simplewebauthn.
Go to the local dev site (HTTP://192...***)
I'll bet this is the problem. WebAuthn can only be called from secure contexts which include:
- A site at https:// with a valid TLS certificate
- A site at http://localhost[:port]
Unfortunately you'll need to figure out how to get your dev instance available at one of those two forms of valid URLs - accessing it via IP address won't support use of WebAuthn.
from simplewebauthn.
@joaomelo
You can try ngrok for dev which will give you a valid https url and tunnel to your dev machine.
from simplewebauthn.
@joaomelo You can try ngrok for dev which will give you a valid https url and tunnel to your dev machine.
sure will @spendres, thank you.
from simplewebauthn.
Closing this out as it seems resolved.
from simplewebauthn.
Related Issues (20)
- Handle undefined `PublicKeyCredential` in `browserSupportsWebAuthnAutofill` helper HOT 1
- Discrepancy between example code and docs HOT 4
- get public key as string
- Make rpID required when generating authentication options HOT 1
- Clean up some docstrings in @simplewebauthn/server
- Rename `AuthenticatorDevice` type and usage
- Parsing the attestation data explicitly HOT 3
- Changed userHandle behavior v10 breaks definitely with existing registrations HOT 2
- RequireUserVerification Is Not Documented HOT 2
- Investigate impact of Deno moving its std library to JSR HOT 2
- Sign-in button capabilities like in Googles Demo HOT 1
- Upgraded to 10 from 9 and iphone no longer to connect with chrome HOT 10
- StartAutentication throwing 'Cannot read properties of undefined (reading 'replace') at base64URLStringToBuffer' HOT 2
- Error: No data when runnning verifyAuthenticationResponse HOT 7
- Add support for WebAuthn's conditional create HOT 7
- Wrong authenticatorAttachment after browser->startRegistration() with YubiKey HOT 1
- Error: No date at Object.decodePartialCBOR (C:\Users\siste\Desktop\web-authentication-main\node_modules\@levischuck\tiny-cbor\script\cbor\cbor.js:355:15) HOT 3
- Registering Passkey on MacOS - ICloud results in two passkeys being created HOT 1
- The check for browser auto fill doesn't take into account shadow DOMs (ie: web components) HOT 6
- A Node.js module is loaded ('crypto') which is not supported in the Edge Runtime. HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from simplewebauthn.