Comments (3)
This should be fixed in @simplewebauthn/[email protected].
from simplewebauthn.
Reproduction Steps
Deploy any sample application to an edge environment. Or build a sample project with Astro and @astrojs/cloudflare.
Hello @eglove, I appreciate your following the issue template but you need to give me a clearer picture of what type of project and runtime you're targeting if I'm going to have confidence that I've solved the problem when I work out a solution. "Any sample application" and "an edge environment" are too vague. A basic reproduction will speed up resolution time too.
from simplewebauthn.
I figured the error was obvious enough. I think your previous flow of trying the import first was the right way to go.
I don't really have time for a PR this weekend. If you need something clearer, other than my silly quick fix, it'll have to wait.
I can give you the repo for this, but it won't do you any good.
The 8.3.3 to 8.3.4 change to default to globalThis is a breaking change that makes edge deployments (ex. CloudFlare and Deno Deploy) impossible. Without testing exactly, I don't know if it's the object access or a bundler problem.
Don't really have time to test and debug either. Maybe next week. 😩
from simplewebauthn.
Related Issues (20)
- Type error HOT 4
- Wallix webauthn lib HOT 2
- Bun runtime TypeError HOT 1
- Example is broken with "User verification required, but user could not be verified" HOT 2
- Custom challenge not correctly decoded in expectedChallenge HOT 8
- Invalid passkey when authenticating from native iOS passkey data HOT 2
- No support for Bitwarden extension as an authenticator HOT 2
- Getting the error "Cannot get schema for 'ECDSASigValue2' target" when calling verifyAuthenticationResponse HOT 3
- largeBlob support? HOT 1
- Support other mediation options HOT 2
- Erroring during verifying of passkey HOT 13
- VerifiedRegistrationResponse type missing transports attribute HOT 3
- failed test in packages/server HOT 4
- generateRegistrationOptions's `excludeCredentials` is returning empty string for each id HOT 1
- extractStrings is not a function HOT 3
- `pubKeyCredParams` field not properly functioning w/ non ES256 Algos on register HOT 2
- Unable to Register a Passkey Using a PIN Code HOT 2
- RFC: Rename @simplewebauthn/typescript-types to something shorter HOT 3
- Treat all custom string challenges as UTF-8 strings
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.