{"id":17775496,"url":"https://github.com/mjonuschat/devise_ticketable","last_synced_at":"2025-07-06T23:40:26.586Z","repository":{"id":996361,"uuid":"806386","full_name":"mjonuschat/devise_ticketable","owner":"mjonuschat","description":"mod_auth_tkt support for devise \u003e= 1.1.0","archived":false,"fork":false,"pushed_at":"2010-07-29T22:51:15.000Z","size":92,"stargazers_count":2,"open_issues_count":0,"forks_count":3,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-03-04T19:37:11.326Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Ruby","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":"PuerkitoBio/goquery","license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/mjonuschat.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":"2010-07-29T22:50:41.000Z","updated_at":"2017-05-16T13:03:45.000Z","dependencies_parsed_at":"2022-07-06T00:33:44.543Z","dependency_job_id":null,"html_url":"https://github.com/mjonuschat/devise_ticketable","commit_stats":null,"previous_names":["yabawock/devise_ticketable"],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mjonuschat%2Fdevise_ticketable","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mjonuschat%2Fdevise_ticketable/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mjonuschat%2Fdevise_ticketable/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mjonuschat%2Fdevise_ticketable/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mjonuschat","download_url":"https://codeload.github.com/mjonuschat/devise_ticketable/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246669388,"owners_count":20814807,"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":[],"created_at":"2024-10-26T21:57:42.036Z","updated_at":"2025-04-01T16:25:38.265Z","avatar_url":"https://github.com/mjonuschat.png","language":"Ruby","funding_links":[],"categories":[],"sub_categories":[],"readme":"# devise_ticketable\n\nAdds support to [devise](http://github.com/plataformatec/devise) for acting as a single sign on server\nusing [mod\\_auth\\_tkt](http://www.openfusion.com.au/labs/mod_auth_tkt/) for the [Apache HTTP Server](http://httpd.apache.org/)\n\n## Installation\n\nRails 2.3 - add the following to your list of gems\n\n    config.gem 'devise_ticketable'\n\nRails 3 - add the following to your Gemfile\n\n    gem 'devise_ticketable'\n\n## Configuration\n\ndevise_ticketable add a few configuration options to devise.\n\n1. The secret used to generate cookies. Set to empty string by default. Should be set to some long and random\nstring comparable to the Rails cookie secret. This value needs to mach your webserver configuration!\n\n    config.auth\\_tkt\\_domain = secret\n\n\n1. The domain for which the cookie is valid. Not set by default. Setting this to something like '.example.com'\nallows single sign on across multiple subdomains\n\n    config.auth\\_tkt\\_domain = ''\n\n1. Optionally do a Base64 encode of the cookie data. Not enabled by default.\n\n    config.auth\\_tkt\\_encode = false\n\n1. Ignore the remote ip address when generating or validating the ticket. Not enabled by default.\n\n    config.auth\\_tkt\\_ignore\\_ip = false\n\n## Accessors / Model attributes\n\ndevise_ticketable makes use of a few optional but recommended accessors on your user model.\n\n1. :auth\\_tkt\\_user\n\n    Define this so that it returns the username you might later use to grant access\n\n1. :auth\\_tkt\\_user\\_data\n\n    Can be used to return payload data that mod\\_auth\\_tkt may use\n\n1. :auth\\_tkt\\_token\\_list\n\n    Should return a list of comma separated tokens can be used for authentication purposes by mod\\_auth\\_tkt.\n    Possible uses include returning group memberships or roles.\n\n## Limitations\n\nCurrently the cookie name is hardcoded to *auth_tkt*. As there is no documentation available for mod\\_auth\\_tkt that suggests\nthat the cookie name is configurable this doesn't pose any serious problems.\n\n## Note on Patches/Pull Requests\n\n* Fork the project.\n* Make your feature addition or bug fix.\n* Add tests for it. This is important so I don't break it in a\n  future version unintentionally.\n* Commit, do not mess with rakefile, version, or history.\n  (if you want to have your own version, that is fine but bump version in a commit by itself I can ignore when I pull)\n* Send me a pull request. Bonus points for topic branches.\n\n## Copyright\n\nCopyright (c) 2010 Morton Jonuschat. See LICENSE for details.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmjonuschat%2Fdevise_ticketable","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmjonuschat%2Fdevise_ticketable","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmjonuschat%2Fdevise_ticketable/lists"}