{"id":14955831,"url":"https://github.com/leesmith/decent_authentication","last_synced_at":"2025-08-01T13:13:08.794Z","repository":{"id":16234257,"uuid":"1329357","full_name":"leesmith/decent_authentication","owner":"leesmith","description":"Rails authentication from scratch","archived":false,"fork":false,"pushed_at":"2023-03-21T14:52:50.000Z","size":967,"stargazers_count":21,"open_issues_count":2,"forks_count":7,"subscribers_count":6,"default_branch":"master","last_synced_at":"2025-04-05T04:09:09.744Z","etag":null,"topics":["authentication","ruby","rubyonrails"],"latest_commit_sha":null,"homepage":"","language":"Ruby","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/leesmith.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,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2011-02-04T19:58:10.000Z","updated_at":"2025-03-06T22:39:22.000Z","dependencies_parsed_at":"2024-09-24T13:24:30.595Z","dependency_job_id":null,"html_url":"https://github.com/leesmith/decent_authentication","commit_stats":{"total_commits":359,"total_committers":4,"mean_commits":89.75,"dds":0.1977715877437326,"last_synced_commit":"c13626c1396fbfe9ed6d5354ec044fe4062a4793"},"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"purl":"pkg:github/leesmith/decent_authentication","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/leesmith%2Fdecent_authentication","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/leesmith%2Fdecent_authentication/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/leesmith%2Fdecent_authentication/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/leesmith%2Fdecent_authentication/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/leesmith","download_url":"https://codeload.github.com/leesmith/decent_authentication/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/leesmith%2Fdecent_authentication/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":268229880,"owners_count":24217017,"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-08-01T02:00:08.611Z","response_time":67,"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":["authentication","ruby","rubyonrails"],"created_at":"2024-09-24T13:11:52.485Z","updated_at":"2025-08-01T13:13:08.766Z","avatar_url":"https://github.com/leesmith.png","language":"Ruby","readme":"# Decent Authentication\n[![Build Status](https://github.com/leesmith/decent_authentication/workflows/Build/badge.svg)](https://github.com/leesmith/decent_authentication/actions) [![Code Climate](https://codeclimate.com/github/leesmith/decent_authentication/badges/gpa.svg)](https://codeclimate.com/github/leesmith/decent_authentication)\n\nDecent Authentication is a sample application that implements authentication in Rails without the\nuse of a third-party generator or engine. You might often hear the advice that you should not \"Roll\nyour own authentication\" but that doesn't mean you **have** to use a gem.\n\nFeatures:\n\n- Only allow enabled users to sign in\n- Request password reset via email\n- Forward to protected routes upon successful sign in\n\nSecure defaults:\n\n- Passwords must be [8 alphanumeric characters](https://github.com/leesmith/decent_authentication/blob/master/app/models/user.rb)\n- Password reset requests [expire after 2 hours](https://github.com/leesmith/decent_authentication/blob/master/app/services/recover_password.rb)\n- Session cookies [expire after 30 minutes](https://github.com/leesmith/decent_authentication/blob/master/config/initializers/session_store.rb)\n\n[Demo](https://decent-authentication.herokuapp.com/sign-in)\n\n## Getting Started\n\nRun the setup script, start the server, then click 'Create Account' from the sign in screen.\n\n```\n# install gems, create database.yml config, and setup the database\n./bin/setup\n```\n\n## Testing\n\n```\n# run the test suite\n./bin/rake\n```\n\n```\n# run the test suite as well as brakeman, simplecov, rails_best_practices, and rubocop\n./bin/rake analyze\n```\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fleesmith%2Fdecent_authentication","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fleesmith%2Fdecent_authentication","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fleesmith%2Fdecent_authentication/lists"}