This tutorial uses a PEP Proxy combined with an Identity Manager to secure access to endpoints exposed by FIWARE generic enablers. Users (or other actors) must log-in and use a token to gain access to services. The application code created in the previous tutorial is expanded to authenticate users throughout a distributed system. The design of a PEP Proxy is discussed, and the GUI and REST API for the Identity Manager relevant to authenticating other services are described in detail.
cUrl commands are used throughout to access the Identity Manager and PEP-Proxy REST APIs - Postman documentation for these calls is also available.
NGSI-v2 offers JSON based interoperability used in individual Smart Systems. To run this tutorial with NGSI-v2, use the NGSI-v2 branch.
git clone https://github.com/FIWARE/tutorials.PEP-Proxy.git
cd tutorials.PEP-Proxy
git checkout NGSI-v2
./services create
./services start| 📚 Documentation |
|---|
NGSI-LD offers JSON-LD based interoperability used for Federations and Data Spaces. To run this tutorial with NGSI-LD, use the NGSI-LD branch.
git clone https://github.com/FIWARE/tutorials.PEP-Proxy.git
cd tutorials.PEP-Proxy
git checkout NGSI-LD
./services create
./services start| 📚 Documentation |
|---|
MIT © 2018-2026 FIWARE Foundation e.V.
