{"id":16551413,"url":"https://github.com/blackode/guardian_auth","last_synced_at":"2025-08-09T07:06:13.492Z","repository":{"id":83817031,"uuid":"101424162","full_name":"blackode/guardian_auth","owner":"blackode","description":"The Guardian Authentication Implementation Using Ecto/Postgresql Elixir Phoenix  [ User Authentication ]","archived":false,"fork":false,"pushed_at":"2018-06-12T17:48:04.000Z","size":84,"stargazers_count":15,"open_issues_count":0,"forks_count":2,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-04-08T22:14:09.271Z","etag":null,"topics":["authentication","elixir","elixir-lang","guardian","guardian-authentication","guardian-authentication-simple","login-auth","login-automation","login-system","phoenix","phoenix-framework","postgres","postgresql","postgresql-database","sessions","signin","simple","user-auth","user-authentication","user-sessions"],"latest_commit_sha":null,"homepage":null,"language":"Elixir","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/blackode.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":"2017-08-25T16:53:08.000Z","updated_at":"2023-09-01T10:44:24.000Z","dependencies_parsed_at":null,"dependency_job_id":"414403b1-78bf-4281-9ab8-661fc6441513","html_url":"https://github.com/blackode/guardian_auth","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/blackode/guardian_auth","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/blackode%2Fguardian_auth","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/blackode%2Fguardian_auth/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/blackode%2Fguardian_auth/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/blackode%2Fguardian_auth/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/blackode","download_url":"https://codeload.github.com/blackode/guardian_auth/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/blackode%2Fguardian_auth/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":269542971,"owners_count":24435197,"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-09T02:00:10.424Z","response_time":111,"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","elixir","elixir-lang","guardian","guardian-authentication","guardian-authentication-simple","login-auth","login-automation","login-system","phoenix","phoenix-framework","postgres","postgresql","postgresql-database","sessions","signin","simple","user-auth","user-authentication","user-sessions"],"created_at":"2024-10-11T19:37:14.915Z","updated_at":"2025-08-09T07:06:13.473Z","avatar_url":"https://github.com/blackode.png","language":"Elixir","funding_links":["https://paypal.me/ankanna"],"categories":[],"sub_categories":[],"readme":"# GuardianAuth\nThis is the working example of ** Guardian Authentication ** implemented using the ** Postgresql ** database. In this example I am using the default `localhost` for live authentication for live database. \n\n## Features\n   * User Registrations Listing Editing and Deleting\n   * User Sessions Creation/Deletion\n   * If the new user is created, a session is automatically created and treating that user as a logged in user automatically.\n   * Authentication Url Redirection. \n   \nIf the user try to visit the unauthorized urls with out logging in then he is redirected to login page. If he already logged in and trying to visit login page, if the token is still exists, he is redirected to authenticated users. \n   \n## Technologies \nThe following are the  versions used at the time of writing this template.             \n   * `Elixir 1.5.1`\n   * `Erlang 20.0`\n   * `Phoenix 1.3.0`\n## Authentication Elixir Modules\n   * `Guardian ~\u003e 0.14`\n   * `bcrypt_elixir ~\u003e 1.0`\n   *  `comeonin ~\u003e 4.0`             \n   \n** NOTE ** \nFor bcrypt_elixir version 1.0, you need to be using `Erlang 20.0`                \nDowngrade to `bcrypt_elixir version 0.12`, if you use the older version of the `Erlang 19`.\n\n## Usage\nYou can use this as an Authentication Template or Boilerplate and start focussing on your development instead of spending time in writing \nuser signin and signout.             \nJust clone it using the url `https://github.com/blackode/guardian_auth.git` and change the MODULE NAMES  and APP_NAMES according to your project. \n\n\n## Starting Server    \nTo start your Phoenix server:\n\n  * Install dependencies with `mix deps.get`\n  * Create and migrate your database with `mix ecto.create \u0026\u0026 mix ecto.migrate`\n  * Install Node.js dependencies with `cd assets \u0026\u0026 npm install`\n  * Start Phoenix endpoint with `mix phx.server`\n\nNow you can visit [`localhost:4000`](http://localhost:4000) from your browser.\n\n#### Buy me a Coffee if this is useful Thanks for Reading.\n https://paypal.me/ankanna\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fblackode%2Fguardian_auth","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fblackode%2Fguardian_auth","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fblackode%2Fguardian_auth/lists"}