{"id":26878212,"url":"https://github.com/rubenarakelyan/authmenace","last_synced_at":"2025-10-25T01:32:10.799Z","repository":{"id":236334071,"uuid":"791836097","full_name":"rubenarakelyan/authmenace","owner":"rubenarakelyan","description":"A super-simple Ruby IndieAuth authorization and token endpoint with no database","archived":false,"fork":false,"pushed_at":"2024-08-20T13:24:36.000Z","size":29,"stargazers_count":0,"open_issues_count":1,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-28T19:19:17.859Z","etag":null,"topics":["indieauth","ruby"],"latest_commit_sha":null,"homepage":"","language":"Ruby","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/rubenarakelyan.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},"funding":{"github":"rubenarakelyan","ko_fi":"wackomenace"}},"created_at":"2024-04-25T13:18:10.000Z","updated_at":"2025-03-04T21:48:29.000Z","dependencies_parsed_at":"2024-05-07T17:27:12.304Z","dependency_job_id":"d2cee836-cefb-41d1-b238-68158e9a1797","html_url":"https://github.com/rubenarakelyan/authmenace","commit_stats":null,"previous_names":["rubenarakelyan/authmenace"],"tags_count":2,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rubenarakelyan%2Fauthmenace","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rubenarakelyan%2Fauthmenace/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rubenarakelyan%2Fauthmenace/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rubenarakelyan%2Fauthmenace/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/rubenarakelyan","download_url":"https://codeload.github.com/rubenarakelyan/authmenace/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246465249,"owners_count":20781919,"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","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":["indieauth","ruby"],"created_at":"2025-03-31T12:19:58.508Z","updated_at":"2025-10-25T01:32:10.736Z","avatar_url":"https://github.com/rubenarakelyan.png","language":"Ruby","funding_links":["https://github.com/sponsors/rubenarakelyan","https://ko-fi.com/wackomenace"],"categories":[],"sub_categories":[],"readme":"# Authmenace\n\nA very simple Ruby [IndieAuth](https://indieweb.org/indieauth) authorization and token endpoint heavily inspired by [Acquiescence](https://github.com/barryf/acquiescence).\n\n## Description\n\nAuthmenace uses [JSON Web Tokens](https://jwt.io) to grant access to third-party websites that implement the IndieAuth standard. It therefore does not need any database.\n\n## Quick start (local development)\n\nEnsure Ruby 3.3.4 is installed. Then run:\n\n```\ncp .env.example .env\nbundle install\nbundle exec puma\n```\n\nRemember to edit your new `.env` file to set the GitHub details and private key for JWTs.\n\n## Authentication providers\n\nSince I originally built Authmenace for myself, I have only implemented GitHub as an authentication provider. However, I am more than happy for others to contribute extra providers that have corresponding Omniauth strategies.\n\n### GitHub\n\nTo use the GitHub provider, you need to create a new OAuth app to receive a client ID and secret using the following steps:\n\n1. Go to \u003chttps://github.com/settings/developers\u003e\n1. Click the \"New OAuth App\" button\n1. Give your application a name and homepage (you should set these to the name and homepage of your website)\n1. Set the authorization callback URL to `https://your.domain/auth/github/callback`, where `your.domain` is the domain you're using to host Authmenace\n1. Click the \"Register application\" button\n1. You will see a client ID - make a note of this\n1. Click the \"Generate a new client secret\" button\n1. Make a note of the client secret (it will not be shown again)\n1. Use these details to set the environment variables for the app\n\n## Environment variables\n\n* `GITHUB_CLIENT_ID`: the client ID of the GitHub OAuth app\n* `GITHUB_CLIENT_SECRET`: the client secret of the GitHub OAuth app\n* `GITHUB_USERNAME`: your GitHub username (only this username will be allowed to authenticate)\n* `JWT_PRIVATE_KEY`: an ECDSA private key to use for signing generated JWTs\n\n## Testing\n\n`bundle exec rspec`\n\n## Bug reports\n\nPlease open an issue on the GitHub repository for any bugs.\n\n## Contributing\n\nAll contributions are welcome. Feel free to fork the original GitHub repository, make your changes and then open a Pull Request against the original GitHub repository. Alternatively, if you're not comfortable writing code, please open an issue.\n\n## Licence\n\n[MIT licence](LICENSE)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frubenarakelyan%2Fauthmenace","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frubenarakelyan%2Fauthmenace","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frubenarakelyan%2Fauthmenace/lists"}