{"id":19939182,"url":"https://github.com/zapnap/open_id_simplified","last_synced_at":"2025-05-03T14:32:42.817Z","repository":{"id":419708,"uuid":"39502","full_name":"zapnap/open_id_simplified","owner":"zapnap","description":"Simplified OpenID Authentication Plugin for Ruby on Rails","archived":false,"fork":false,"pushed_at":"2009-05-19T14:57:42.000Z","size":110,"stargazers_count":22,"open_issues_count":0,"forks_count":3,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-04-07T17:04:06.803Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Ruby","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/zapnap.png","metadata":{"files":{"readme":"README","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}},"created_at":"2008-08-02T21:10:54.000Z","updated_at":"2019-08-13T13:30:40.000Z","dependencies_parsed_at":"2022-07-08T01:50:28.010Z","dependency_job_id":null,"html_url":"https://github.com/zapnap/open_id_simplified","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zapnap%2Fopen_id_simplified","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zapnap%2Fopen_id_simplified/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zapnap%2Fopen_id_simplified/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zapnap%2Fopen_id_simplified/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/zapnap","download_url":"https://codeload.github.com/zapnap/open_id_simplified/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":252203430,"owners_count":21710962,"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-11-12T23:45:17.164Z","updated_at":"2025-05-03T14:32:42.450Z","avatar_url":"https://github.com/zapnap.png","language":"Ruby","funding_links":[],"categories":[],"sub_categories":[],"readme":"OpenIdSimplified\n================\n\nProvides a simple authentication system for web applications that don't need a full user registration system and choose\ninstead to rely completely on OpenID for their needs. Will store user models and associate them with identity URLs,\nallowing you to build local profiles associated with a users's OpenID. DOES NOT support non-OpenID account creation. We\nsuggest either running your own provider (there are plenty of OSS provider packages) or refering users to an existing \nOpenID provider instead (TIP: use the ID Selector available at idselector.com). Many larger providers offer affiliate\nprograms that allow you to brand their signup processes and redirect users back to your website when finished.\n\nThis work is based on Rick Olson's Restful Authentication plugin and the original OpenID Authentication plugin for \nRails. However, many of the extra features of the former plugin have been removed for streamlined simplicity. If you \nwant a highly customizable authentication system that supports traditional local accounts as well as OpenID and has all\nthe bells and whistles, install those two plugins and write a bit of code to integrate them. On the other hand, if you\njust need a barebones OpenID-based authentication system and a user model, this plugin should do the trick right out of\nthe box.\n\n\nPrerequisites\n=============\n\nYou need Rails 2.1. You also need Mocha and JanRain's excellent ruby-openid gem:\n\n  gem install ruby-openid mocha\n\nTo understand what OpenID is about and how it works, check the documentation for lib/openid/consumer.rb.\n\nThe specification used is http://openid.net/specs/openid-authentication-2_0.html.\n\n\nInstallation\n============\n\nGet the latest sources from GitHub!\n\nruby script/plugin install git://github.com/zapnap/open_id_simplified.git\n\nThen run the supplied generator:\n\nruby script/generate authenticated\n\nThis will create two models for you, a User model and an IdentityUrl model (a User may have any number of IdentityURLs\nassociated with it). It will also create a SessionsController and the new session view for that controller, as well as\nthe required routes.\n\nThe SessionsController allows you to specify any optional fields you wish to populate in the User model from Simple\nRegistration (sreg) data. We recommend that you create a UsersController and have the SessionsController redirect to \nits #edit action after successfully creating an account. That way, you can allow your users to specify additional \nprofile data if it was not obtained via sreg.\n\nNote that, with OpenID, both the signup and login portions are treated the same; they're both handled via the\nSessionsController's #create action. You may wish to add a redirect for the #new action on UsersController to\nSessionsController. We recommend integrating the ID Selector available at http://idselector.com into your login form\nfor increased usability. You just need to add one (generated) piece of JavaScript to the new.html.erb template to make \nit work.\n\nThese are merely a few suggestions; the generated sources should work fine with or without these modifications! The\nonly other thing you will absolutely have to do is add a mapping for the application root to your routes with a\nmap.root directive.\n\nCredits\n=======\n\nPortions belonging to the original Rails OpenId Authentication plugin (c) 2008 David Heinemeier Hansson.\nPortions belonging to the Restful Authentication plugin original (c) 2008 Rick Olson.\n\nContributors\n* Randy Schmidt (r38y)\n* Marko Anastasov (markoa)\n\nAll other work (c) 2008 Nick Plante. This plugin is released under the MIT license.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzapnap%2Fopen_id_simplified","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fzapnap%2Fopen_id_simplified","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzapnap%2Fopen_id_simplified/lists"}