credentials / irma_js Goto Github PK
View Code? Open in Web Editor NEWLegacy IRMA web JavaScript library, see https://github.com/privacybydesign/irmajs
License: BSD 3-Clause "New" or "Revised" License
Legacy IRMA web JavaScript library, see https://github.com/privacybydesign/irmajs
License: BSD 3-Clause "New" or "Revised" License
Callbacks currently provide a textual (human-readable) string in English with an error message (around here, for example). This should be an error code instead, because:
See:
https://github.com/credentials/irma_sms_issuer/blob/master/src/main/webapp/common.js#L114
Hey there im trying to get the example given in the README working but I get the following error:
Uncaught ReferenceError: IRMA is not defined
at init (verify.js:21)
at HTMLDocument.<anonymous> (verify.js:49)
at mightThrow (jquery.js:3534)
at process (jquery.js:3602)
So I tried to import it with import * as IRMA from "./client/irma";
. This however made it so I cant call on the clicked method:
index.html:10 Uncaught ReferenceError: isclicked is not defined
at HTMLButtonElement.onclick (index.html:10)
I also get the following error:
Uncaught SyntaxError: Unexpected token export
Any help?
Open a link on an iPhone to a new page targeted as '_blank', when you issue a Irma session from this page the js changes the window location to irma://
. This makes IOS 'replace' the content of this _blank page with the Irma app. The _blank page is then gone and with it the page you logged into. If you open a link manually to the same page everything is fine.
The problem is at:
A fix can be to change it to open a new window before any async call with window.open()
and store the windowReference in a global var. Then in the callback set the location of the windowReference to the irma://
location.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.