{"id":19648148,"url":"https://github.com/bestpractical/rt-authen-oauth2","last_synced_at":"2025-04-28T15:32:22.622Z","repository":{"id":66697601,"uuid":"76672858","full_name":"bestpractical/rt-authen-oauth2","owner":"bestpractical","description":null,"archived":false,"fork":false,"pushed_at":"2025-02-11T20:51:13.000Z","size":79,"stargazers_count":7,"open_issues_count":0,"forks_count":11,"subscribers_count":18,"default_branch":"master","last_synced_at":"2025-04-05T09:25:05.211Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"http://metacpan.org/release/rt-authen-oauth2","language":"Perl","has_issues":false,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/bestpractical.png","metadata":{"files":{"readme":"README","changelog":"Changes","contributing":null,"funding":null,"license":"LICENSE","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}},"created_at":"2016-12-16T17:34:19.000Z","updated_at":"2025-02-11T20:50:56.000Z","dependencies_parsed_at":"2024-11-11T14:47:32.051Z","dependency_job_id":"bb6273fa-5a76-406d-8d06-23efcae4e2ca","html_url":"https://github.com/bestpractical/rt-authen-oauth2","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/bestpractical%2Frt-authen-oauth2","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bestpractical%2Frt-authen-oauth2/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bestpractical%2Frt-authen-oauth2/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bestpractical%2Frt-authen-oauth2/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/bestpractical","download_url":"https://codeload.github.com/bestpractical/rt-authen-oauth2/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":251338828,"owners_count":21573616,"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-11T14:47:16.890Z","updated_at":"2025-04-28T15:32:22.596Z","avatar_url":"https://github.com/bestpractical.png","language":"Perl","funding_links":[],"categories":[],"sub_categories":[],"readme":"NAME\n    RT-Authen-OAuth2 - External authentication for OAuth 2 sources, like\n    Google, Twitter, GitHub, etc.\n\nDESCRIPTION\n    External authentication for OAuth2 sources.\n\nRT VERSION\n    Works with RT 4.4 and 5\n\nDEPENDENCIES\n    Requires Net::OAuth2::Profile::WebServer\n\nINSTALLATION\n    perl Makefile.PL\n    make\n    make install\n        May need root permissions\n\n    Edit your /opt/rt4/etc/RT_SiteConfig.pm\n        Add this line:\n\n            Plugin('RT::Authen::OAuth2');\n\n    Add / Edit OAuth2 configs found in OAuth2_Config.pm\n    Clear your mason cache\n            rm -rf /opt/rt4/var/mason_data/obj\n\n    Restart your webserver\n\nAUTHOR\n    Best Practical Solutions, LLC \u003cmodules@bestpractical.com\u003e\n\nBUGS\n    All bugs should be reported via email to\n\n        L\u003cbug-RT-Authen-OAuth2@rt.cpan.org|mailto:bug-RT-Authen-OAuth2@rt.cpan.org\u003e\n\n    or via the web at\n\n        L\u003crt.cpan.org|http://rt.cpan.org/Public/Dist/Display.html?Name=RT-Authen-OAuth2\u003e.\n\nLICENSE AND COPYRIGHT\n    This software is Copyright (c) 2016-2025 by Best Practical Solutions LLC\n\n    This is free software, licensed under:\n\n      The GNU General Public License, Version 2, June 1991\n\nMETHODS\n  RequestAuthorization()\n        Creates an Authorization Request on behalf of the Resource Owner\n        (user), and initiates the OAuth 2 protocol with the Authorization\n        Server. The browser will redirect to the $OAuthRedirect endpoint\n        specified in the config.\n\n  LogUserIn()\n        Called from the $OAuthRedirect endpoint handler element. Validates\n        the user exists and is allowed to log in, auto-populates user\n        metadata returned from the OAuth 2 server, and sets up a session. If\n        successful, returns to the handler template element to redirect to\n        the final destination.\n\n  IDPLoginButtonImage()\n        Returns the appropriate login button image for the active OAuth 2\n        server. This is displayed on the RT login page.\n\n  LogOutURL()\n        Returns the appropriate logout URL active OAuth 2 server.\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbestpractical%2Frt-authen-oauth2","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbestpractical%2Frt-authen-oauth2","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbestpractical%2Frt-authen-oauth2/lists"}