{"id":19898963,"url":"https://github.com/shield-wall/simple-authenticator","last_synced_at":"2026-05-13T06:36:22.847Z","repository":{"id":48009701,"uuid":"512194615","full_name":"shield-wall/simple-authenticator","owner":"shield-wall","description":null,"archived":false,"fork":false,"pushed_at":"2022-08-26T15:38:55.000Z","size":12,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2026-01-11T14:41:21.780Z","etag":null,"topics":["authentication","login","php","symfony","symfony-bundle"],"latest_commit_sha":null,"homepage":"","language":"PHP","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/shield-wall.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}},"created_at":"2022-07-09T13:36:28.000Z","updated_at":"2022-08-26T16:07:28.000Z","dependencies_parsed_at":"2022-08-12T16:31:07.785Z","dependency_job_id":null,"html_url":"https://github.com/shield-wall/simple-authenticator","commit_stats":null,"previous_names":[],"tags_count":6,"template":false,"template_full_name":null,"purl":"pkg:github/shield-wall/simple-authenticator","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/shield-wall%2Fsimple-authenticator","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/shield-wall%2Fsimple-authenticator/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/shield-wall%2Fsimple-authenticator/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/shield-wall%2Fsimple-authenticator/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/shield-wall","download_url":"https://codeload.github.com/shield-wall/simple-authenticator/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/shield-wall%2Fsimple-authenticator/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32971210,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-13T06:31:55.726Z","status":"ssl_error","status_checked_at":"2026-05-13T06:31:51.336Z","response_time":115,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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","login","php","symfony","symfony-bundle"],"created_at":"2024-11-12T20:06:34.926Z","updated_at":"2026-05-13T06:36:22.831Z","avatar_url":"https://github.com/shield-wall.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"Simple authenticator\n====================\n\nIt's a simple symfony authenticator, for you be able to log in just with email.\n\n### Install\n\n```shell\ncomposer req shield-w4ll/simple-authenticator\n```\n\n\u003e **Note**\n\u003e We relly recommend use this package in **dev environment** only.\n\n### Configuration\n\n```yaml\n#config/packages/shield_wall.yaml\nwhen@dev:\n  simple_authenticator:\n    route:\n      redirect_success: 'profile_edit'\n      redirect_failure: 'app_login'\n\n  security:\n    firewalls:\n      main:\n        custom_authenticators:\n          - ShieldWall\\SimpleAuthenticator\\Security\\EmailAuthenticator\n```\n\n```yaml\n#config/routes/shield_wall.yaml\nsimple_authenticator_login:\n  prefix: ^/\n  path: /simple_authenticator/login\n```\n```yaml\n#config/service.yaml\nShieldWall\\SimpleAuthenticator\\Security\\EmailAuthenticator:\n        arguments:\n            - '@Symfony\\Component\\Routing\\Generator\\UrlGeneratorInterface'\n            - '@App\\Repository\\UserRepository'\n            - '%shield_wall.simple_authenticator.route.redirect_success%'\n            - '%shield_wall.simple_authenticator.route.redirect_failure%'\n```\n```php\n//YourController.php\npublic function yourAction()\n{\n        $simpleAuthenticatorForm = $this-\u003ecreateForm(SimpleAuthenticatorType::class, null, [\n            'action' =\u003e $this-\u003egenerateUrl('simple_authenticator_login'),\n        ]);\n        $simpleAuthenticatorFromView = $simpleAuthenticatorForm-\u003ecreateView();\n\n        return $this-\u003erender('your_template.html.twig', [\n            'simpleAuthenticatorFrom' =\u003e $simpleAuthenticatorFromView,\n        ]);\n}\n\n//your_file.html.twig\n{{ form(simpleAuthenticatorFrom) }}\n```\n\nRepository\n```php\n//src/Repository/UserRepository.php\nclass UserRepository extends ServiceEntityRepository implements EmailRepositoryInterface\n{\n    public function findOneByEmail(string $email): UserInterface\n    {\n        return $this-\u003efindOneBy(['email' =\u003e $email]);\n    }\n}\n\n```\n\nTODO\n- need to see someway to get the route name from controller `simple_authenticator_login`\n- import route as resource\n- service should be declared automatically.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fshield-wall%2Fsimple-authenticator","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fshield-wall%2Fsimple-authenticator","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fshield-wall%2Fsimple-authenticator/lists"}