{"id":23386943,"url":"https://github.com/david-uhlig/omniauth-rocketchat","last_synced_at":"2026-02-07T23:04:29.797Z","repository":{"id":269211927,"uuid":"906599419","full_name":"david-uhlig/omniauth-rocketchat","owner":"david-uhlig","description":"Unofficial Rocket Chat strategy for OmniAuth","archived":false,"fork":false,"pushed_at":"2025-01-16T13:26:57.000Z","size":13,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-10-29T11:44:52.364Z","etag":null,"topics":["oauth2","omniauth","omniauth-strategy","rocketchat","ruby","ruby-on-rails"],"latest_commit_sha":null,"homepage":"","language":"Ruby","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/david-uhlig.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.md","code_of_conduct":"CODE_OF_CONDUCT.md","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}},"created_at":"2024-12-21T11:02:40.000Z","updated_at":"2025-01-16T13:26:59.000Z","dependencies_parsed_at":null,"dependency_job_id":"dbf7e9b9-4865-48e4-9b93-253eab5abc65","html_url":"https://github.com/david-uhlig/omniauth-rocketchat","commit_stats":null,"previous_names":["david-uhlig/omniauth-rocketchat"],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/david-uhlig/omniauth-rocketchat","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/david-uhlig%2Fomniauth-rocketchat","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/david-uhlig%2Fomniauth-rocketchat/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/david-uhlig%2Fomniauth-rocketchat/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/david-uhlig%2Fomniauth-rocketchat/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/david-uhlig","download_url":"https://codeload.github.com/david-uhlig/omniauth-rocketchat/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/david-uhlig%2Fomniauth-rocketchat/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29211626,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-07T22:58:45.823Z","status":"ssl_error","status_checked_at":"2026-02-07T22:58:45.272Z","response_time":63,"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":["oauth2","omniauth","omniauth-strategy","rocketchat","ruby","ruby-on-rails"],"created_at":"2024-12-22T01:13:54.374Z","updated_at":"2026-02-07T23:04:29.783Z","avatar_url":"https://github.com/david-uhlig.png","language":"Ruby","funding_links":[],"categories":[],"sub_categories":[],"readme":"# OmniAuth Rocket Chat OAuth2 Strategy\n\n[![Gem Version](http://img.shields.io/gem/v/omniauth-rocketchat.svg)][gem]\n[![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)][license]\n[![Contributor Covenant](https://img.shields.io/badge/Contributor%20Covenant-2.1-4baaaa.svg)][contributing]\n\n[gem]: https://rubygems.org/gems/omniauth-rocketchat\n[license]: LICENSE.md\n[contributing]: CODE_OF_CONDUCT.md\n\nUnofficial OmniAuth strategy to authenticate with [Rocket Chat](https://rocket.chat/) through OAuth2 in [OmniAuth](https://github.com/omniauth/omniauth).\n\n## Installation\n\nAdd this line to your application's Gemfile:\n\n```ruby\ngem 'omniauth-rocketchat'\n```\n\nThen execute `bundle install`.\n\n## Rocket Chat Setup\n\nYou need to register your application with your Rocket Chat instance to obtain the `Client ID` and `Client Secret`. You will also need to add this applications host(s). This whitelists your application for the callback redirect. You can do this by following the steps below:\n\n* Go to your Rocket Chat instance and login as an administrator.\n* Go to `Administration` -\u003e `Third-party login`.\n* Click on `New Application`.\n  * Check the `Active` checkbox.\n  * Fill in the `Application Name` and `Redirect URL`. The redirect URL for devise looks like `https://example.com/users/auth/rocketchat/callback`. You can add multiple hosts by separating them with a comma.\n  * Click on `Save`.\n* Select the third-party login you just created.\n  * Copy the `Client ID` and `Client Secret`.\n\n## Integration\n\nPick one of the following methods to integrate the strategy with your application.\n\n### Basic Usage\n    \n```ruby\nuse OmniAuth::Builder do\n  provider :rocketchat,\n  ENV[\"ROCKETCHAT_CLIENT_ID\"],\n  ENV[\"ROCKETCHAT_CLIENT_SECRET\"],\n  client_options: {\n    site: \"https://example.com\"\n  }\nend\n```\n\n### With Custom Endpoints\n```ruby\nuse OmniAuth::Builder do\n  provider :rocketchat,\n  ENV[\"ROCKETCHAT_CLIENT_ID\"],\n  ENV[\"ROCKETCHAT_CLIENT_SECRET\"],\n  client_options: {\n    site: \"https://example.com\",\n    authorize_url: \"/custom/oauth/authorize\",\n    token_url: \"/custom/oauth/token\"\n  }\nend\n```\n\n### In Rails\n```ruby\n# config/initializers/rocketchat.rb\nRails.application.config.middleware.use OmniAuth::Builder do\n  provider :rocketchat,\n  ENV[\"ROCKETCHAT_CLIENT_ID\"],\n  ENV[\"ROCKETCHAT_CLIENT_SECRET\"],\n  client_options: {\n    site: \"https://example.com\"\n  }\nend\n```\n\n### With Devise\n```ruby\n# config/initializers/rocketchat.rb\nDevise.setup do |config|\n  config.omniauth :rocketchat,\n  ENV[\"ROCKETCHAT_CLIENT_ID\"],\n  ENV[\"ROCKETCHAT_CLIENT_SECRET\"],\n  client_options: {\n    site: \"https://example.com\"\n  }\nend\n```\n\n## Configuration\n\n* The `client_options` options: `authorize_url` and `token_url` are optional and default to `/oauth/authorize` and `/oauth/token` respectively.\n* `scope` has no effect on Rocket Chat. Users grant you full permissions to their account. Handle responsibly!\n\n## Versioning\n\nThis library aims to adhere to [Semantic Versioning 2.0.0](http://semver.org/). Violations of this scheme should be reported as bugs.\n\n## Contributing\n\nThis project is intended to be a safe, welcoming space for collaboration, and contributors are expected to adhere to the [Contributor Covenant](http://contributor-covenant.org) code of conduct.\n\nBug reports and pull requests are welcome on the [GitHub project page](https://github.com/david-uhlig/omniauth-rocketchat).\n\n## License\n\nCopyright \u0026copy; 2024-2025 David Uhlig. See [LICENSE][] for details.\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdavid-uhlig%2Fomniauth-rocketchat","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdavid-uhlig%2Fomniauth-rocketchat","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdavid-uhlig%2Fomniauth-rocketchat/lists"}