An open API service indexing awesome lists of open source software.

https://github.com/redfroggy/ngx-universign

Angular library to sign universign documents in your browser
https://github.com/redfroggy/ngx-universign

angular universign

Last synced: 4 months ago
JSON representation

Angular library to sign universign documents in your browser

Awesome Lists containing this project

README

          

# ngx-universign


RedFroggy

A RedFroggy project













[Universign](https://www.universign.com/fr/) iframe integration for Angular. Gives you the possibility to sign documents in the browser.

The universign iframe integration relies on [this documention](https://help.universign.com/hc/fr/articles/360000059698-Int%C3%A9grer-La-page-de-signature-universign-en-mode-Iframe).

The component loads an universign javascript file that creates an iframe in which a user can sign documents.

## Installation

`npm install ngx-universign`

## Getting started

- Import `UniversignModule` to your Angular application

```javascript
import { UniversignModule } from 'ngx-universign';

@NgModule({
imports: [
UniversignModule
]
})
export class AppModule {}
```

- Add `` in your template. It will load the document to sign in the iframe.
- The `signerId` identifier si provided by universign once the document is uploaded.

## Environments:
There is two universign environments (sign.test.universign.eu and app.universign.com) and a different javascript file for each one:
- https://sign.test.universign.eu/sig/embed.js (loaded by default)
- https://app.universign.com/sig/embed.js (production)
- To use the production mode, you can do: `UniversignModule.forRoot({prodMode: true})`