{"id":13507444,"url":"https://github.com/marceldegraaf/ueberauth_cas","last_synced_at":"2026-02-22T19:01:50.573Z","repository":{"id":9514675,"uuid":"61840924","full_name":"marceldegraaf/ueberauth_cas","owner":"marceldegraaf","description":"Central Authentication Service strategy for Überauth","archived":false,"fork":false,"pushed_at":"2026-02-01T22:32:33.000Z","size":258,"stargazers_count":16,"open_issues_count":5,"forks_count":13,"subscribers_count":1,"default_branch":"master","last_synced_at":"2026-02-12T10:58:51.401Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"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/marceldegraaf.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE.md","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,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2016-06-23T22:27:48.000Z","updated_at":"2025-10-12T16:46:29.000Z","dependencies_parsed_at":"2023-02-17T11:45:33.366Z","dependency_job_id":"dff6634a-59e9-4c56-a765-55a3bd65465e","html_url":"https://github.com/marceldegraaf/ueberauth_cas","commit_stats":{"total_commits":97,"total_committers":7,"mean_commits":"13.857142857142858","dds":0.5360824742268041,"last_synced_commit":"bf30a08384ccfdf489762b6df2f81f6497427947"},"previous_names":[],"tags_count":9,"template":false,"template_full_name":null,"purl":"pkg:github/marceldegraaf/ueberauth_cas","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/marceldegraaf%2Fueberauth_cas","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/marceldegraaf%2Fueberauth_cas/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/marceldegraaf%2Fueberauth_cas/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/marceldegraaf%2Fueberauth_cas/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/marceldegraaf","download_url":"https://codeload.github.com/marceldegraaf/ueberauth_cas/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/marceldegraaf%2Fueberauth_cas/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29723573,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-22T15:10:41.462Z","status":"ssl_error","status_checked_at":"2026-02-22T15:10:04.636Z","response_time":110,"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":[],"created_at":"2024-08-01T02:00:33.781Z","updated_at":"2026-02-22T19:01:50.536Z","avatar_url":"https://github.com/marceldegraaf.png","language":"Elixir","funding_links":[],"categories":["Authentication"],"sub_categories":[],"readme":"# Überauth CAS Strategy\n\n[![Build](https://travis-ci.org/marceldegraaf/ueberauth_cas.svg?branch=master)](https://travis-ci.org/marceldegraaf/ueberauth_cas)\n[![Coverage](https://coveralls.io/repos/github/marceldegraaf/ueberauth_cas/badge.svg?branch=master)](https://coveralls.io/github/marceldegraaf/ueberauth_cas?branch=master)\n[![Module Version](https://img.shields.io/hexpm/v/ueberauth_cas.svg)](https://hex.pm/packages/ueberauth_cas)\n[![Hex Docs](https://img.shields.io/badge/hex-docs-lightgreen.svg)](https://hexdocs.pm/ueberauth_cas/)\n[![Total Download](https://img.shields.io/hexpm/dt/ueberauth_cas.svg)](https://hex.pm/packages/ueberauth_cas)\n[![License](https://img.shields.io/hexpm/l/ueberauth_cas.svg)](https://github.com/marceldegraaf/ueberauth_cas/blob/master/LICENSE.md)\n[![Last Updated](https://img.shields.io/github/last-commit/marceldegraaf/ueberauth_cas.svg)](https://github.com/marceldegraaf/ueberauth_cas/commits/master)\n\nCentral Authentication Service (CAS) strategy for Überauth.\n\n## Installation\n\n1. Add `:ueberauth` and `:ueberauth_cas` to your list of dependencies in `mix.exs`:\n\n   ```elixir\n   def deps do\n     [\n       {:ueberauth, \"~\u003e 0.7\"},\n       {:ueberauth_cas, \"~\u003e 2.0\"}\n     ]\n   end\n   ```\n\n2. Ensure `:ueberauth_cas` is started before your application:\n\n   ```elixir\n   def application do\n     [applications: [:ueberauth_cas]]\n   end\n   ```\n\n3. Configure the CAS integration in `config/config.exs`:\n\n   ```elixir\n   config :ueberauth, Ueberauth,\n     providers: [cas: {Ueberauth.Strategy.CAS, [\n       base_url: \"http://cas.example.com\",\n       callback_url: \"http://your-app.example.com/auth/cas/callback\",\n       # sanitize_attribute_names: false,\n       # multivalued_attributes: :first,\n       # return_xml_payload: true\n     ]}]\n   ```\n\n4. Include the Überauth plug in your controller:\n\n   ```elixir\n   defmodule MyApp.AuthController do\n     use MyApp.Web, :controller\n     plug Ueberauth\n     ...\n   end\n   ```\n\n5. Create the request and callback routes if you haven't already:\n\n   ```elixir\n   scope \"/auth\", MyApp do\n     pipe_through :browser\n\n     get \"/:provider\", AuthController, :request\n     get \"/:provider/callback\", AuthController, :callback\n   end\n   ```\n\n6. Your controller needs to implement callbacks to deal with `Ueberauth.Auth` and `Ueberauth.Failure` responses.\n\n## Compatibility\n\nÜberauth CAS was tested with the [Casino](http://casino.rbcas.com/) CAS server\nimplementation. Please let me know if Überauth CAS is incompatible with your CAS\nserver, and why.\n\nThe docs contain more information about protocol specifics.\n\n## Copyright and License\n\nCopyright (c) 2016 Marcel de Graaf\n\nThis library is licensed under the [MIT license](./LICENSE.md).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmarceldegraaf%2Fueberauth_cas","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmarceldegraaf%2Fueberauth_cas","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmarceldegraaf%2Fueberauth_cas/lists"}