Comments (5)
We will have to test it. But be aware that the spec requires htrps connections, so probably that is the reason for it.
from oid4vci.
Of course we can make an exception for localhost if the above is the reason for it.
from oid4vci.
Oh, overlooked something, which I now see when generating some test cases. Your example really isn't a valid url. The scheme should be http://
not just http:
. Will add some testcases to verify.
The regex does allow for non-https sheme's already it seems
from oid4vci.
Okay looking at the regex, it does go wrong even if the scheme is correctly applied. That has to do with the regex either accepting an IPV4 address (so 127.0.0.1 would have worked) or a hostname with a domain. So it required at least one dot in the hostname. Obviously the hostname 'localhost' doesn't have that. Have adjusted the regex and will add some more test cases. A new release with the fix will follow shortly
from oid4vci.
0.3.6 has a fix in it allowing for localhost.
from oid4vci.
Related Issues (16)
- Wrong `content-type` is set for `acquireAccessToken` HOT 5
- Link to spec that is no longer compatible with this library HOT 5
- `determineSpecVersionFromURI` error HOT 1
- `getIssuerFromCredentialOfferPayload` error HOT 3
- Mattr Labs v11 issuer throws 400 on credential request HOT 2
- Token endpoint resolution HOT 4
- A few type issues from Draft 13 HOT 1
- token_endpoint not added to the metadata HOT 2
- OIDC4VCI is not passing endpointOpts.getCrendentialOfferOpts HOT 2
- Remove support for versions below draft 11 HOT 5
- Separate generic format definitions and the format specific interfaces HOT 1
- Leverage zod (or similar library) for validation HOT 1
- Specific reason why JSON-LD issuance is not supported? HOT 2
- Accept RSA Signing Algorithms HOT 6
- Re-run CI on main to publish new `.next` version 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 oid4vci.