{"id":18769684,"url":"https://github.com/webstronauts/ex_verify_origin","last_synced_at":"2025-12-10T18:30:16.618Z","repository":{"id":57501162,"uuid":"245501670","full_name":"webstronauts/ex_verify_origin","owner":"webstronauts","description":"Plug adapter to protect from CSRF attacks by verifying the `Origin` header.","archived":false,"fork":false,"pushed_at":"2020-08-06T07:40:49.000Z","size":17,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-01-29T12:46:02.826Z","etag":null,"topics":["cors","csrf","elixir","phoenix","plug"],"latest_commit_sha":null,"homepage":"https://hexdocs.pm/ex_verify_origin","language":"Elixir","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/webstronauts.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","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":"2020-03-06T19:34:17.000Z","updated_at":"2020-08-06T07:40:52.000Z","dependencies_parsed_at":"2022-09-14T19:41:06.837Z","dependency_job_id":null,"html_url":"https://github.com/webstronauts/ex_verify_origin","commit_stats":null,"previous_names":[],"tags_count":3,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/webstronauts%2Fex_verify_origin","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/webstronauts%2Fex_verify_origin/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/webstronauts%2Fex_verify_origin/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/webstronauts%2Fex_verify_origin/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/webstronauts","download_url":"https://codeload.github.com/webstronauts/ex_verify_origin/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":239671421,"owners_count":19677875,"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":["cors","csrf","elixir","phoenix","plug"],"created_at":"2024-11-07T19:16:38.272Z","updated_at":"2025-12-10T18:30:16.309Z","avatar_url":"https://github.com/webstronauts.png","language":"Elixir","funding_links":[],"categories":[],"sub_categories":[],"readme":"# ex_verify_origin\n\n[![Build Status](https://img.shields.io/github/workflow/status/webstronauts/ex_verify_origin/test.svg?style=flat-square)](https://github.com/webstronauts/ex_verify_origin/actions?query=workflow%3Atest)\n[![Hex.pm](https://img.shields.io/hexpm/v/ex_verify_origin.svg?style=flat-square)](https://hex.pm/packages/ex_verify_origin)\n\nA Plug adapter to protect from CSRF attacks by verifying the `Origin` header.\n\n\u003ca href=\"https://webstronauts.com/\"\u003e\n  \u003cimg src=\"https://webstronauts.com/badges/sponsored-by-webstronauts.svg\" alt=\"Sponsored by The Webstronauts\" width=\"200\" height=\"65\"\u003e\n\u003c/a\u003e\n\n## Installation\n\nTo use VerifyOrigin, you can add it to your application's dependencies.\n\n```elixir\ndef deps do\n  [\n    {:ex_verify_origin, \"~\u003e 2.0.0\"}\n  ]\nend\n```\n\n## Usage\n\nYou can use the plug within your pipeline.\n\n```elixir\ndefmodule MyApp.Endpoint do\n  plug Logger\n  plug VerifyOrigin\n  plug MyApp.Router\nend\n```\n\nTo find out more, head to the [online documentation]([https://hexdocs.pm/ex_verify_origin).\n\n## Changelog\n\nPlease see [CHANGELOG](CHANGELOG.md) for more information on what has changed recently.\n\n## Contributing\n\nClone the repository and run `mix test`. To generate docs, run `mix docs`.\n\n## Credits\n\n- [Robin van der Vleuten](https://github.com/robinvdvleuten)\n- [All Contributors](../../contributors)\n\n## License\n\nThe MIT License (MIT). Please see [License File](LICENSE) for more information.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwebstronauts%2Fex_verify_origin","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fwebstronauts%2Fex_verify_origin","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwebstronauts%2Fex_verify_origin/lists"}