Skip to content
This repository has been archived by the owner on Oct 3, 2023. It is now read-only.

Fédérateur d’identité personne morale

License

Notifications You must be signed in to change notification settings

SchweisguthN/api-auth

 
 

Repository files navigation

Comptes api.gouv.fr

Fédérateur d’identité personne morale utilisée sur :

Détails techniques

{
    "email": "user@monentreprise.com",
    "email_verified": true,
    "organizations":
    [{
        "id": 16,
        "siret": "21630215800011",
        "is_external": "true"
    }, {
        "id": 17,
        "siret": "21770138200012",
        "is_external": "false"
    }],
    "sub": 154,
    "updated_at": "2020-07-23T15:34:06.637Z"
}

NB : is_external vaut true lorsque l’utilisateur est externe à l’organisation (ex : prestataire, sous-traitant, mandataire, etc.)

Installation

Les instructions d’installation se trouvent ici : https://gitlab.com/etalab/api.gouv.fr/api-auth-infrastructure

Migrations

Migration are managed by node-pg-migrate.

To create a migration run:

npm run migrate create "add names to user"

To run the migration run:

npm run migrate up

More info available at https://github.com/salsita/node-pg-migrate.

About

Fédérateur d’identité personne morale

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 78.5%
  • EJS 18.4%
  • CSS 2.9%
  • Shell 0.2%