GithubHelp home page GithubHelp logo

h4ckl4bm3 / rt-authen-oauth2 Goto Github PK

View Code? Open in Web Editor NEW

This project forked from bestpractical/rt-authen-oauth2

0.0 2.0 0.0 44 KB

Home Page: http://metacpan.org/release/rt-authen-oauth2

Perl 6 0.18% Perl 99.82%

rt-authen-oauth2's Introduction

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

rt-authen-oauth2's People

Contributors

aaronkondziela avatar

Watchers

James Cloos avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.