{"id":20777770,"url":"https://github.com/fiware/tutorials.securing-access","last_synced_at":"2025-10-11T02:10:30.079Z","repository":{"id":40302761,"uuid":"144269345","full_name":"FIWARE/tutorials.Securing-Access","owner":"FIWARE","description":":closed_book: FIWARE 403: IDM - Securing Access to Resources","archived":false,"fork":false,"pushed_at":"2025-02-17T13:57:47.000Z","size":1638,"stargazers_count":4,"open_issues_count":3,"forks_count":5,"subscribers_count":8,"default_branch":"master","last_synced_at":"2025-04-30T18:43:16.224Z","etag":null,"topics":["access-control","fiware","fiware-keyrock","oauth2","pdp","pep","security","tutorial"],"latest_commit_sha":null,"homepage":"https://fiware-idm.rtfd.io/en/latest","language":"Shell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/FIWARE.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2018-08-10T09:55:39.000Z","updated_at":"2024-06-28T15:06:07.000Z","dependencies_parsed_at":"2024-01-18T17:44:41.109Z","dependency_job_id":"38a69347-1623-4491-a983-873bcc018e0c","html_url":"https://github.com/FIWARE/tutorials.Securing-Access","commit_stats":null,"previous_names":[],"tags_count":8,"template":false,"template_full_name":null,"purl":"pkg:github/FIWARE/tutorials.Securing-Access","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/FIWARE%2Ftutorials.Securing-Access","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/FIWARE%2Ftutorials.Securing-Access/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/FIWARE%2Ftutorials.Securing-Access/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/FIWARE%2Ftutorials.Securing-Access/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/FIWARE","download_url":"https://codeload.github.com/FIWARE/tutorials.Securing-Access/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/FIWARE%2Ftutorials.Securing-Access/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":279005916,"owners_count":26083995,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-10-11T02:00:06.511Z","response_time":55,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["access-control","fiware","fiware-keyrock","oauth2","pdp","pep","security","tutorial"],"created_at":"2024-11-17T13:17:06.878Z","updated_at":"2025-10-11T02:10:30.071Z","avatar_url":"https://github.com/FIWARE.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"[![FIWARE Banner](https://fiware.github.io/tutorials.Securing-Access/img/fiware.png)](https://www.fiware.org/developers)\n\n[![FIWARE Security](https://nexus.lab.fiware.org/repository/raw/public/badges/chapters/security.svg)](https://github.com/FIWARE/catalogue/blob/master/security/README.md)\n[![License: MIT](https://img.shields.io/github/license/fiware/tutorials.Securing-Access.svg)](https://opensource.org/licenses/MIT)\n[![Support badge](https://img.shields.io/badge/tag-fiware-orange.svg?logo=stackoverflow)](https://stackoverflow.com/questions/tagged/fiware)\n\nThis tutorial secures access to a FIWARE application using the entities created in the\n[previous tutorial](https://github.com/FIWARE/tutorials.Roles-Permissions). The tutorial explains appropriate use of the\nvarious OAuth2 grant flows, and how to use the **Keyrock** generic enabler as an Authorization Server to identify users.\n**Keyrock** is also used as a Policy Decision Point (PDP) to restrict access.\n\nThe tutorial discusses code showing how to integrate Keyrock within a web application and demonstrates examples of\nAuthorization Server interactions using the **Keyrock** GUI. Some [cUrl](https://ec.haxx.se/) commands are also used to\naccess the **Keyrock** REST API - [Postman documentation](https://www.postman.com/downloads/) for these calls is also available.\n\n# Start-Up\n\n## NGSI-v2 Smart Supermarket\n\n**NGSI-v2** offers JSON based interoperability used in individual Smart Systems. To run this tutorial with **NGSI-v2**, use the `NGSI-v2` branch.\n\n```console\ngit clone https://github.com/FIWARE/tutorials.Securing-Access.git\ncd tutorials.Securing-Access\ngit checkout NGSI-v2\n\n./services create\n./services start\n```\n\n| [![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) |  \u003cimg src=\"https://cdn.jsdelivr.net/npm/simple-icons@v3/icons/postman.svg\" height=\"15\" width=\"15\"\u003e [Postman Collection](https://fiware.github.io/tutorials.Securing-Access/) | ![](https://img.shields.io/github/last-commit/fiware/tutorials.Securing-Access/NGSI-v2)\n| --- | --- | --- | ---\n\n\n\u003c!--\n## NGSI-LD Smart Farm\n\n**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.\n\n```console\ngit clone https://github.com/FIWARE/tutorials.Securing-Access.git\ncd tutorials.Securing-Access\ngit checkout NGSI-LD\n\n./services create\n./services start\n```\n\n| [![NGSI LD](https://img.shields.io/badge/NGSI-LD-d6604d.svg)](https://cim.etsi.org/NGSI-LD/official/front-page.html) | :books: [Documentation](https://github.com/FIWARE/tutorials.Securing-Access/tree/NGSI-LD) | \u003cimg  src=\"https://cdn.jsdelivr.net/npm/simple-icons@v3/icons/postman.svg\" height=\"15\" width=\"15\"\u003e [Postman Collection](https://fiware.github.io/tutorials.Securing-Access/ngsi-ld.html) |\n| --- | --- | --- |\n\n--\u003e\n\n---\n\n## License\n\n[MIT](LICENSE) © 2018-2024 FIWARE Foundation e.V.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffiware%2Ftutorials.securing-access","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ffiware%2Ftutorials.securing-access","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffiware%2Ftutorials.securing-access/lists"}