{"id":42531002,"url":"https://github.com/openviglet/vecchio","last_synced_at":"2026-01-28T16:15:55.000Z","repository":{"id":20610836,"uuid":"90421461","full_name":"openviglet/vecchio","owner":"openviglet","description":":sparkles: :dna: Viglet Vecchio allows to create authentication and authorization layers to access API, with proactive monitoring.","archived":false,"fork":false,"pushed_at":"2023-03-03T13:04:08.000Z","size":18925,"stargazers_count":8,"open_issues_count":9,"forks_count":2,"subscribers_count":2,"default_branch":"master","last_synced_at":"2024-04-18T00:26:05.792Z","etag":null,"topics":["api","authentication","authorization","gateway","monitoring","oauth2","viglet-vecchio"],"latest_commit_sha":null,"homepage":"http://viglet.org/vecchio","language":"Java","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/openviglet.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE.md","code_of_conduct":"CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2017-05-05T22:28:58.000Z","updated_at":"2024-01-24T10:15:25.000Z","dependencies_parsed_at":"2023-01-14T08:30:17.954Z","dependency_job_id":null,"html_url":"https://github.com/openviglet/vecchio","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/openviglet/vecchio","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/openviglet%2Fvecchio","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/openviglet%2Fvecchio/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/openviglet%2Fvecchio/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/openviglet%2Fvecchio/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/openviglet","download_url":"https://codeload.github.com/openviglet/vecchio/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/openviglet%2Fvecchio/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28846966,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-28T15:15:36.453Z","status":"ssl_error","status_checked_at":"2026-01-28T15:15:13.020Z","response_time":57,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":["api","authentication","authorization","gateway","monitoring","oauth2","viglet-vecchio"],"created_at":"2026-01-28T16:15:54.099Z","updated_at":"2026-01-28T16:15:54.995Z","avatar_url":"https://github.com/openviglet.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"![vecchio_banner.png](https://openvecchio.github.io/vecchio/img/vecchio_banner.png)\n------\n**Viglet Vecchio** allows to create authentication and authorization layers to access API.\n\n**If you'd like to contribute to Viglet Vecchio, be sure to review the [contribution\nguidelines](CONTRIBUTING.md).**\n\n**We use [GitHub issues](https://github.com/openviglet/vecchio/issues) for\ntracking requests and bugs.**\n\n# Option 1. Docker\n1. Install Docker. [https://docs.docker.com/engine/installation](https://docs.docker.com/engine/installation)\n\n\n2. Pull Viglet Vecchio Docker and run it.\n\n```shell\n$ docker pull viglet/vecchio\n$ docker run -d -p 2702:2702 --name vecchio viglet/vecchio\n```\n\n# Option 2. Installing manually \n\n## Download\n\n```shell\n$ git clone --recurse-submodules https://github.com/openvecchio/vecchio.git\n$ cd vecchio\n```\n\n## Deploy \n\n### 1. Runtime\n\nUse Gradle to execute Vecchio API, without generate jar file.\n\n```shell\n$ ./gradlew bootrun\n```\n\n\n### 2. Or Generate JAR File\n\nUse Gradle to generate Vecchio API executable JAR file.\n\n```shell\n$ ./gradlew build\n```\n\n#### 2.1 Run\n\nTo run Vecchio API executable JAR file, just execute the following line:\n\n```shell\n$ java -jar build/libs/viglet-vecchio.jar\n```\n\n# Test\n\n## Mapping Resources\n\nFor example, in Mapping Console ([http://localhost:2702/console/#!/mapping](http://localhost:2702/console/#!/mapping)) add the following URL:\n\nGitHub - openviglet\n\t- URL: [/github/openviglet](http://localhost:2702/github/openviglet)\n\t- Proxy: [https://api.github.com/users/openviglet](https://api.github.com/users/openviglet)\n\n![mapping.png](https://openvecchio.github.io/vecchio/img/mapping.png)\n\n## Apps\n\nCreate a new App ([http://localhost:2702/console/#!/app/new](http://localhost:2702/console/#!/app/new)) and copy the values of  \"Keys and Access Tokens\" tab.\n\n![vecchio_oauth2.png](https://openvecchio.github.io/vecchio/img/vecchio_oauth2.png)\n\nWill generate the following keys an tokens for your App, for instance:\n\n| Token                        | Value                            | \n| ---------------------------- |:--------------------------------:|\n| Consumer Key (API Key)       | 8d0304f37e2c0bbf1d9ab602e916ef34 |\n| Consumer Secret (API Secret) | c640f16520015c5a599f666107e4ce25 |\n| Access Token \t\t\t\t   | fb803d96bb541ba658d514b3f4d88363 |\n| Access Token Secret          | 43c713bcbdb7a54962a1b4abcfb8af58 |\n\n## Grant Types\n\nYou can access the API Resources using your Access Token, ou generate new Access Token using the followings Grant Types:\n\n### Authorization Code\n\nUse the **Consumer Key (API Key)** to generate the *Authorization Code*:\n\n```bash\ncurl -I -X GET 'http://localhost:2702/oauth/authorize?response_type=code\u0026client_id=8d0304f37e2c0bbf1d9ab602e916ef34\u0026redirect_uri=http://localhost:2702/console/oauth2/receive_authcode'\n```\nWill return the *Location*, so get the **Authorization Code**:\n\n```bash\nLocation: http://localhost:2702/console/oauth2/receive_authcode?code=e31d6626d203aaea0811305e33136d59`\n```\n\nUse the *Authorization Code* to generate the **Access Token**, for instance: `b516216e45610d4be3716c8dfab70985`:\n\n```bash\ncurl -X GET 'http://localhost:2702/oauth/token' -d 'grant_type=authorization_code\u0026code=e31d6626d203aaea0811305e33136d59'\n```\n\n### Implicit\n\nUse the **Consumer Key (API Key)** to generate the *Authorization Code*:\n\n```bash\ncurl -I -X GET 'http://localhost:2702/oauth/authorize?response_type=token\u0026client_id=8d0304f37e2c0bbf1d9ab602e916ef34\u0026redirect_uri=http://localhost:2702/console/oauth2/receive_implicit_token'\n```\n\nWill return the *Location*, so get the **Access Token**, for instance: `b516216e45610d4be3716c8dfab70985`:\n\n```bash\nLocation: http://localhost:2702/console/oauth2/receive_implicit_token?access_token=b516216e45610d4be3716c8dfab70985\u0026state=xyz\u0026token_type=bearer\u0026expires_in=3600\n```\n\n## Using API Resources\n\nReady! You can access the following API Resources using the **Access Token** from Authorization Code or Implicit Grant Types or App Settings (Your Access Token), for instance `fb803d96bb541ba658d514b3f4d88363`, if you use an invalid Access Token, it will return empty response.\n\n* GitHub - openviglet:\n\n```bash\ncurl -X GET \"localhost:2702/github/openviglet\" -H  \"accept: application/json\" -H  \"content-type: application/json\" -H  \"authorization: Bearer fb803d96bb541ba658d514b3f4d88363\"\n```\n\n# Dashboard\n\nDashboard Console ([http://localhost:2702/console/#!/dashboard](http://localhost:2702/console/#!/dashboard)) shows response time report.\n\n![dashboard.png](https://openvecchio.github.io/vecchio/img/dashboard.png)","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fopenviglet%2Fvecchio","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fopenviglet%2Fvecchio","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fopenviglet%2Fvecchio/lists"}