Skip to content

Commit

Permalink
changelog
Browse files Browse the repository at this point in the history
  • Loading branch information
DSorlov committed Jun 6, 2020
1 parent a8a4860 commit 99db525
Show file tree
Hide file tree
Showing 2 changed files with 52 additions and 2 deletions.
15 changes: 15 additions & 0 deletions changelog.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
# Changelog for eid-provider

The format is based on [Keep a Changelog][keep-a-changelog]
<!-- and this project adheres to [Semantic Versioning][semantic-versioning]. -->

## [Unreleased]
- Nothing right now

## [0.0.1] (2020-06-06)
- Initial commit
- Missing Funktionstjänster and Svensk e-Identitet implementation

[keep-a-changelog]: http://keepachangelog.com/en/1.0.0/
[Unreleased]: https://github.com/DSorlov/eid-provider/compare/master...dev
[0.0.1]: https://github.com/DSorlov/eid-provider/releases/tag/v0.0.1
39 changes: 37 additions & 2 deletions readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -91,8 +91,12 @@ config.password = 'mysupersecretpassword';
eidprovider.initialize(config);
```
## Modules
There are basically right now two main types of integrations: one is working directly with the service apis and the other kind is working with a broker service. The broker services can be usefull if you have many integrations or other sources in your enterprise and you wish to use the same sources for these.
The configuration options below should be quite obvious as what they do. If you are unsure your supplier will most probably be able to determine what information you need. Most modules have sane values, certificates etc for most testing services and production services however there is no production credentials and you need to strike an agreement with the services yourself to obtain these.
### BankID
This module works directly with the BankID api. It is supplied with working testing credentials and basic production credentials.
This module works directly with the BankID api. It is supplied with working testing credentials and basic production details.
>**Default production configuration (settings.production)**
```
endpoint: 'https://appapi2.bankid.com/rp/v5',
Expand All @@ -110,7 +114,7 @@ allowFingerprint: true,
password: 'qwerty123'
```
### Freja eID
This module works directly with the Freja eID REST API. It is supplied with working testing credentials and basic production credentials.
This module works directly with the Freja eID REST API. It is supplied with working testing credentials and basic production details.
>**Default production configuration (settings.production)**
```
endpoint: 'https://services.prod.frejaeid.com',
Expand All @@ -129,3 +133,34 @@ jwt_cert: fs.readFileSync(`./certs/frejaeid_test.jwt`),
minimumLevel: 'EXTENDED',
password: 'test'
```
### Funktionstjänster (same for both the ftbankid and ftfrejaeid modules)
This module works by interfacing the Funktionstjänster service. It is supplied working testing credentials and basic production details.
>**Default production configuration (settings.production)**
```
endpoint: 'https://grp.funktionstjanster.se:18898/grp/v2?wsdl',
ca_cert: fs.readFileSync(`./certs/ftbankid_prod.ca`),
display_name: '',
policy: ''

```
>**Default testing configuration (settings.testing)**
```
endpoint: 'https://grpt.funktionstjanster.se:18898/grp/v2?wsdl',
ca_cert: fs.readFileSync(`./certs/ftbankid_test.ca`),
display_name: 'test',
policy: 'logtest020'
```
### GrandID (same for both the gbankid and gfrejaeid modules)
This module works by interfacing the GrandID service. It is supplied only with basic information. You need to obtain your own credentials.
>**Default production configuration (settings.production)**
```
endpoint: 'https://client.grandid.com/',
servicekey: '',
apikey: ''
```
>**Default testing configuration (settings.testing)**
```
endpoint: 'https://client.grandid.com/',
servicekey: '',
apikey: ''
```

0 comments on commit 99db525

Please sign in to comment.