You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Library requires https on localhost in development #30
Activity
taneltm commentedon Nov 10, 2022
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.
However, web-eid-app does not allow http://localhost and exits with ERR_WEBEID_NATIVE_FATAL.
As I see it, we could solve it in two ways:
https://debug.localhostas the origin to web-eid-app.As a workaround, you can edit
/web-eid-webextension/src/content/content.tsand replace all instances ofevent.originwith"https://localhost".taneltm commentedon Jan 30, 2025
@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.
mrts commentedon Jul 3, 2026
HTTP support for localhost has been merged in the extension: web-eid/web-eid-webextension#102.
The required changes in application code are here:
Hope this helps!