https://github.com/fiware/tutorials.securing-access
:closed_book: FIWARE 403: IDM - Securing Access to Resources
https://github.com/fiware/tutorials.securing-access
access-control fiware fiware-keyrock oauth2 pdp pep security tutorial
Last synced: 3 months ago
JSON representation
:closed_book: FIWARE 403: IDM - Securing Access to Resources
- Host: GitHub
- URL: https://github.com/fiware/tutorials.securing-access
- Owner: FIWARE
- License: mit
- Created: 2018-08-10T09:55:39.000Z (almost 7 years ago)
- Default Branch: master
- Last Pushed: 2024-08-08T14:12:35.000Z (11 months ago)
- Last Synced: 2024-08-08T16:41:39.131Z (11 months ago)
- Topics: access-control, fiware, fiware-keyrock, oauth2, pdp, pep, security, tutorial
- Language: Shell
- Homepage: https://fiware-idm.rtfd.io/en/latest
- Size: 1.51 MB
- Stars: 4
- Watchers: 9
- Forks: 5
- Open Issues: 3
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
[](https://www.fiware.org/developers)
[](https://github.com/FIWARE/catalogue/blob/master/security/README.md)
[](https://opensource.org/licenses/MIT)
[](https://stackoverflow.com/questions/tagged/fiware)This tutorial secures access to a FIWARE application using the entities created in the
[previous tutorial](https://github.com/FIWARE/tutorials.Roles-Permissions). The tutorial explains appropriate use of the
various OAuth2 grant flows, and how to use the **Keyrock** generic enabler as an Authorization Server to identify users.
**Keyrock** is also used as a Policy Decision Point (PDP) to restrict access.The tutorial discusses code showing how to integrate Keyrock within a web application and demonstrates examples of
Authorization Server interactions using the **Keyrock** GUI. Some [cUrl](https://ec.haxx.se/) commands are also used to
access the **Keyrock** REST API - [Postman documentation](https://www.postman.com/downloads/) for these calls is also available.# Start-Up
## NGSI-v2 Smart Supermarket
**NGSI-v2** offers JSON based interoperability used in individual Smart Systems. To run this tutorial with **NGSI-v2**, use the `NGSI-v2` branch.
```console
git clone https://github.com/FIWARE/tutorials.Securing-Access.git
cd tutorials.Securing-Access
git checkout NGSI-v2./services create
./services start
```| [](https://fiware-ges.github.io/orion/api/v2/stable/) | :books: [Documentation](https://github.com/FIWARE/tutorials.Securing-Access/tree/NGSI-v2) |
[Postman Collection](https://fiware.github.io/tutorials.Securing-Access/) | 
| --- | --- | --- | ------
## License
[MIT](LICENSE) © 2018-2024 FIWARE Foundation e.V.