{"id":15061764,"url":"https://github.com/factorycampus/radau","last_synced_at":"2026-01-14T14:50:03.559Z","repository":{"id":43710682,"uuid":"135174658","full_name":"FactoryCampus/radau","owner":"FactoryCampus","description":"Radius Authentication micro-service used to provide wifi logins for WPA Enterprise","archived":true,"fork":false,"pushed_at":"2024-02-14T15:09:13.000Z","size":120,"stargazers_count":7,"open_issues_count":11,"forks_count":5,"subscribers_count":5,"default_branch":"develop","last_synced_at":"2025-01-21T08:17:24.620Z","etag":null,"topics":["docker","gin","go-pg","golang","postgresql","wpa2-enterprise"],"latest_commit_sha":null,"homepage":"https://factorycampus.github.io/radau/","language":"Go","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/FactoryCampus.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.md","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}},"created_at":"2018-05-28T14:50:45.000Z","updated_at":"2024-03-13T12:19:41.000Z","dependencies_parsed_at":"2022-08-22T03:20:33.403Z","dependency_job_id":"51d6e0d6-1700-41ff-b633-e97233c3f8f0","html_url":"https://github.com/FactoryCampus/radau","commit_stats":null,"previous_names":[],"tags_count":4,"template":false,"template_full_name":null,"purl":"pkg:github/FactoryCampus/radau","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/FactoryCampus%2Fradau","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/FactoryCampus%2Fradau/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/FactoryCampus%2Fradau/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/FactoryCampus%2Fradau/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/FactoryCampus","download_url":"https://codeload.github.com/FactoryCampus/radau/tar.gz/refs/heads/develop","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/FactoryCampus%2Fradau/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":278379001,"owners_count":25977212,"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-04T02:00:05.491Z","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":["docker","gin","go-pg","golang","postgresql","wpa2-enterprise"],"created_at":"2024-09-24T23:24:49.209Z","updated_at":"2025-10-04T21:31:36.919Z","avatar_url":"https://github.com/FactoryCampus.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# `radau` - Radius authentication backend\n\nRadius Authentication REST backend microservice used to manage users and credentials for authentication in a WPA Enterprise setup. The credentials are ready to be passed to a radius server, e.g. the FreeRadius `rest` module.\n\n[📝 API docs](https://factorycampus.github.io/radau/)\n\n**Important:** Passwords can not be hashed in the database to allow comparison to various authentication methods supported in different clients.\n\nThe implementation therefore adheres to these principles:\n- Passwords are always generated\n- The user's password is only returned on creation\n- Passwords can be reset or revoked\n\n### Additional features\nThe API allows for additional attributes to be associated to the user which will be passed to the radius server on authentication\n\n## Usage\n\n### Requirements\n- A PostgreSQL database\n\n### Docker\n\n```bash\ndocker network create wifi_db\ndocker run -d --name wifilogin_db --network wifi_db \\\n    -e POSTGRES_USER=wifi -e POSTGRES_PASSWORD=wifi -e POSTGRES_DB=wifi \\\n    postgres\ndocker run -d --name wifilogin \\\n    -e API_KEY_MANAGEMENT= -e API_KEY_RADIUS= \\\n    -e DB_HOST=wifilogin_db -e DB_USER=wifi -e DB_PASSWORD=wifi -e DB_DATABASE=wifi \\\n    -p 8080:8080 --network wifi_db \\\n    factorycampus/radau\n```\n\n### Available Environment Variables\n\n- `API_KEY_MANAGEMENT` - API Key used for user management (`/user` and `/token`)\n- `API_KEY_RADIUS` - API Key used by radius server (`/radius`)\n- `DB_HOST` - Host of the database server\n- `DB_USER` - User for database access\n- `DB_PASSWORD` - Password for database access\n- `DB_DATABASE` - Database to use\n- `PORT` - Port to serve the API on\n- `TOKEN_LENGTH` - Length of the generated token, defaults to 32\n\n### In Production\n\nConsider these tips:\n\n- Because credentials will be in plaintext, put this service behind a SSL-enabled reverse-proxy and access via HTTPS from Radius\n\n## Development\n\nUse the `docker-compose.yml` in the repo root for development with livereload\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffactorycampus%2Fradau","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ffactorycampus%2Fradau","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffactorycampus%2Fradau/lists"}