Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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: about 20 hours 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 (over 6 years ago)
- Default Branch: master
- Last Pushed: 2024-08-08T14:12:35.000Z (3 months ago)
- Last Synced: 2024-08-08T16:41:39.131Z (3 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
[![FIWARE Banner](https://fiware.github.io/tutorials.Securing-Access/img/fiware.png)](https://www.fiware.org/developers)
[![FIWARE Security](https://nexus.lab.fiware.org/repository/raw/public/badges/chapters/security.svg)](https://github.com/FIWARE/catalogue/blob/master/security/README.md)
[![License: MIT](https://img.shields.io/github/license/fiware/tutorials.Securing-Access.svg)](https://opensource.org/licenses/MIT)
[![Support badge](https://img.shields.io/badge/tag-fiware-orange.svg?logo=stackoverflow)](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
```| [![NGSI v2](https://img.shields.io/badge/NGSI-v2-5dc0cf.svg)](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/) | ![](https://img.shields.io/github/last-commit/fiware/tutorials.Securing-Access/NGSI-v2)
| --- | --- | --- | ------
## License
[MIT](LICENSE) © 2018-2024 FIWARE Foundation e.V.