{"id":19740135,"url":"https://github.com/rrbarrero/visago","last_synced_at":"2026-06-09T06:32:24.151Z","repository":{"id":210378510,"uuid":"440291051","full_name":"rrbarrero/VisaGo","owner":"rrbarrero","description":"Microservice api rest for auth against an Act. Directory using jwt tokens","archived":false,"fork":false,"pushed_at":"2021-12-20T20:52:44.000Z","size":60,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-02-28T06:08:26.703Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/rrbarrero.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null}},"created_at":"2021-12-20T19:56:01.000Z","updated_at":"2021-12-20T20:52:47.000Z","dependencies_parsed_at":"2023-12-02T11:46:14.544Z","dependency_job_id":null,"html_url":"https://github.com/rrbarrero/VisaGo","commit_stats":null,"previous_names":["rrbarrero/visago"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/rrbarrero/VisaGo","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rrbarrero%2FVisaGo","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rrbarrero%2FVisaGo/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rrbarrero%2FVisaGo/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rrbarrero%2FVisaGo/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/rrbarrero","download_url":"https://codeload.github.com/rrbarrero/VisaGo/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rrbarrero%2FVisaGo/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":34095244,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-06-09T02:00:06.510Z","response_time":63,"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":[],"created_at":"2024-11-12T01:19:41.043Z","updated_at":"2026-06-09T06:32:24.135Z","avatar_url":"https://github.com/rrbarrero.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# VisaGO\nMicroservicio para autenticar contra un servidor ldap y que devuelve tokens JWT con los datos de usuario.\n\n![Esquema VisaGo](visago_esquema.jpg)\n\n## Todo\n* La librería de JWT permite autorizar (jwt-middleware línea #70). Por ahora no lo voy a usar. Solo autenticar. En un futuro implementar que hable con otro microservicio para autorizaciones.\n\n\n## Anotaciones:\n* curl --location --request GET 'localhost:8080/auth/ping_with_token' \\\n--header 'Content-Type: application/json' \\\n--header 'Authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJleHAiOjE2Mjg3Njc1OTksImlkIjoicm9iZXJ0by5yb2RyaWd1ZXoiLCJvcmlnX2lhdCI6MTYyODc2Mzk5OX0.Gvma5-9CjAOl_go04v_Jubq-GzEEsO7Qh2oaGANsWgQ'\n\n* curl --location --request POST 'localhost:8080/login' \\\n--header 'Content-Type: application/json' \\\n--data-raw '{\n    \"username\": \"user.name\", \"password\": \"password\"\n}'\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frrbarrero%2Fvisago","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frrbarrero%2Fvisago","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frrbarrero%2Fvisago/lists"}