reniec-idaas

2.0.0 • Public • Published

ID Perú SDK for NodeJS

With this client you can connect with our solution of Identity as a Service (IDaaS) that implements OpenID Connect.

Installation:

$ npm install reniec-idaas -S

Integration example: https://github.com/pkiep-reniec/integration_nodejs_example

More project details: https://idperu.reniec.gob.pe/site/

Demo online: https://ecep.reniec.gob.pe/rp/

Basic params

Scopes

  • profile

    • Return: doc, first_name.
  • offline_access

    • Offline access for a month.

ACR

  • pki_dnie

    • Access with DNIe.
  • pki_dnie_mobile

    • Access with mobile certificates (only for android devices).
  • pki_token

    • Access with PJ digital certificate.
  • pki_dnie_legacy

    • Access with DNIe using JNLP (Java 8 installed is required).
  • pki_token_legacy

    • Access with PJ digital certificate using JNLP (Java 8 installed is required).

More params

If you want more params details, you can find it into OpenID Connect documentation:

https://openid.net/specs/openid-connect-core-1_0.html

Dependencies (4)

Dev Dependencies (0)

    Package Sidebar

    Install

    npm i reniec-idaas

    Weekly Downloads

    2

    Version

    2.0.0

    License

    ISC

    Unpacked Size

    5.58 kB

    Total Files

    4

    Last publish

    Collaborators

    • pkiep.reniec