Skip to content

Latest commit

 

History

History
38 lines (31 loc) · 1.26 KB

README.md

File metadata and controls

38 lines (31 loc) · 1.26 KB

eidas-idporten-proxy

Eidas-idporten-proxy as specific proxy for service for Norway from ID-porten. Cache for LightProtocol requests and responses. Must match names that the eidas-proxy uses.

Configuration

Eidas-idporten-proxy is configured with the following environment variables: eidas.acr.supported-acr-values - Eidas ACR values supported by the eIDAS proxy. the lowes acr level must come first and in subsequent order eidas.acr.acr-value-map - maps ipdorten acr level to eidas acr levels.

NB! The client_id for the proxy must be added in all the environments as a trusted-onbehalfof-clients of for client-sync.

Sequence diagrams

Norwegian citizen

sequenceDiagram
    autonumber
    participant NEP as eidas-proxy
    participant RED as redis
    participant SEP as eidas-idporten-proxy
    participant IL as ID-Porten
    NEP ->> RED: put LightRequest
    NEP ->> SEP: LightToken
    SEP ->> RED: get LightProtocol request
    SEP ->> SEP: map to OIDC
    SEP ->> IL: OIDC (acr: idporten-eidas-loa-x(?), scope: eidas:<tbd>)
    SEP ->> IL: getToken
    SEP ->> IL: getUserInfo
    SEP ->> SEP: map to LightProtocol response
    SEP ->> RED: store LightProtocol response
    SEP ->> NEP: post LightToken
    NEP ->> RED: get LightResponse from token

Loading