We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
To make development with the library easier, it should allow http://localhost:XXX or provide an option to disable https check.
The text was updated successfully, but these errors were encountered:
I agree, it would make development and testing easier.
Both the library and the extension check for Secure Context, which makes an exception for locally-delivered resources.
Locally-delivered resources such as those with http://127.0.0.1 URLs, http://localhost and http://*.localhost URLs (e.g. http://dev.whatever.localhost/), and file:// URLs are also considered to have been delivered securely.
However, web-eid-app does not allow http://localhost and exits with ERR_WEBEID_NATIVE_FATAL.
origin scheme has to be https or wss in src/controller/command-handlers/certificatereader.cpp:134:validateAndStoreOrigin
As I see it, we could solve it in two ways:
https://debug.localhost
As a workaround, you can edit /web-eid-webextension/src/content/content.ts and replace all instances of event.origin with "https://localhost".
/web-eid-webextension/src/content/content.ts
event.origin
"https://localhost"
Sorry, something went wrong.
@tenor-dev , I'm sorry it took so long, but we finally have an open PR web-eid/web-eid-webextension#79 which will give you an option to use http://localhost. This feature is planned for the next extension release.
No branches or pull requests
To make development with the library easier, it should allow http://localhost:XXX or provide an option to disable https check.
The text was updated successfully, but these errors were encountered: