Integration bootstrapper for the PaymentIQ 1click client
npm install paymentiq-1click-client``
npm install
npm start // serves built file at http://localhost:9092/dist/paymentiq-1click-client.js
`
```
or`
npm i paymentiq-1click-client --save
``
|key |type |required|values |description |
|---------------|----------|--------|---------------------------------|------------------------------------------------------|
|clientId |string | true |CLIENT_ID |Your unique clientID generated in PIQ |
|environment |string | false |production test development|What environment of PIQ to target |SE
|redirect_url |string | false |Endpoint that returns 200 . |Endpoint that will be called when a login is done. |
|provider |string | false |See Devcode identity providers|Pre select what login provider to use |
|country |string | true |, NO, GB |What country do you want to target |JSESSIONID
|authCookieName |string | true | |Name of the authCookie |page
|ssn |string | false |NationalId |NationalId, will prefill and auto submit a login if provided |
|display |string | false | popup inline-popup |How should the login component be displayed. Defaults to page |
``
npm run build // comiles project into a single dist file at dist/paymentiq-1click-client.js
Jenkins is configured in 4 steps`
1) Build
2) Deploy experimental version
3) Deploy new version
3) Deploy new version to npm
Changes made for every version can be found here