h4ckl4bm3 / rt-authen-oauth2 Goto Github PK
View Code? Open in Web Editor NEWThis project forked from bestpractical/rt-authen-oauth2
Home Page: http://metacpan.org/release/rt-authen-oauth2
This project forked from bestpractical/rt-authen-oauth2
Home Page: http://metacpan.org/release/rt-authen-oauth2
NAME RT-Authen-OAuth2 - External authentication for OAuth 2 sources, like Google, Twitter, GitHub, etc. DESCRIPTION External authentication for OAuth2 sources. RT VERSION Works with RT 4.4 DEPENDENCIES Requires Net::OAuth2::Profile::WebServer INSTALLATION perl Makefile.PL make make install May need root permissions Edit your /opt/rt4/etc/RT_SiteConfig.pm If you are using RT 4.2 or greater, add this line: Plugin('RT::Authen::OAuth2'); For RT 4.0, add this line: Set(@Plugins, qw(RT::Authen::OAuth2)); or add RT::Authen::OAuth2 to your existing @Plugins line. Add / Edit OAuth2 configs found in OAuth2_Config.pm Clear your mason cache rm -rf /opt/rt4/var/mason_data/obj Restart your webserver AUTHOR Best Practical Solutions, LLC <[email protected]> BUGS All bugs should be reported via email to L<[email protected]|mailto:[email protected]> or via the web at L<rt.cpan.org|http://rt.cpan.org/Public/Dist/Display.html?Name=RT-Authen-OAuth2>. LICENSE AND COPYRIGHT This software is Copyright (c) 2016 by Best Practical Solutions LLC This is free software, licensed under: The GNU General Public License, Version 2, June 1991 RequestAuthorization() Creates an Authorization Request on behalf of the Resource Owner (user), and initiates the OAuth 2 protocol with the Authorization Server. The browser will redirect to the $OAuthRedirect endpoint specified in the config. LogUserIn() Called from the $OAuthRedirect endpoint handler element. Validates the user exists and is allowed to log in, auto-populates user metadata returned from the OAuth 2 server, and sets up a session. If successful, returns to the handler template element to redirect to the final destination. IDPLoginButtonImage() Returns the appropriate login button image for the active OAuth 2 server. This is displayed on the RT login page. POD ERRORS Hey! The above document had some coding errors, which are explained below: Around line 87: '=item' outside of any '=over' =over without closing =back
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.