perl-Mojolicious-Plugin-OAuth2-Server - Easier implementation of an OAuth2 Authorization Server / Resource Server with Mojolicious

Property Value
Distribution ALT Linux Sisyphus
Repository Autoimports noarch
Package name perl-Mojolicious-Plugin-OAuth2-Server
Package version 0.39
Package release alt1
Package architecture noarch
Package type rpm
Installed size 60.51 KB
Download size 60.51 KB
Official Mirror
This plugin enables you to easily (?) write an OAuth2 Authorization Server (AS)
and OAuth2 Resource Server (RS) using Mojolicious. It implements the required
flows and checks leaving you to add functions that are necessary, for example,
to verify an auth code (AC), access token (AT), etc.
In its simplest form you can call the plugin with just a hashref of known clients
and the code will "just work" - however in doing this you will not be able to
run a multi process persistent OAuth2 AS/RS as the known ACs and ATs will not be
shared between processes and will be lost on a restart.
To use this plugin in a more realistic way you need to at a minimum implement
the following functions and pass them to the plugin:
These will be explained in more detail below, in the REQUIRED FUNCTIONS entry elsewhere in this document, and you
can also see the tests and examples included with this distribution. OAuth2
seems needlessly complicated at first, hopefully this plugin will clarify the
various steps and simplify the implementation.
Note that OAuth2 requires https, so you need to have the optional Mojolicious
dependency required to support it. Run the command below to check if
the IO::Socket::SSL manpage is installed.
$ mojo version


Package Version Architecture Repository
perl-Mojolicious-Plugin-OAuth2-Server - - -


Name Value
/usr/share/perl5 -
perl(Mojo/ -
perl(Mojo/ -
perl(Mojo/ -
perl(Mojolicious/ -
perl(Net/OAuth2/ >= 0.160
perl( -
perl-base >= 1:5.10.0
rpmlib(PayloadIsLzma) -


Name Value
perl(Mojolicious/Plugin/OAuth2/ = 0.390
perl-Mojolicious-Plugin-OAuth2-Server = 0.39-alt1


Type URL
Binary Package perl-Mojolicious-Plugin-OAuth2-Server-0.39-alt1.noarch.rpm
Source Package perl-Mojolicious-Plugin-OAuth2-Server-0.39-alt1.src.rpm

Install Howto

  1. Add the following line to /etc/apt/sources.list:
    rpm [Sisyphus] noarch autoimports
    rpm [Sisyphus] noarch autoimports
  2. Update the package index:
    # sudo apt-get update
  3. Install perl-Mojolicious-Plugin-OAuth2-Server rpm package:
    # sudo apt-get install perl-Mojolicious-Plugin-OAuth2-Server



See Also

Package Description
perl-Mojolicious-Plugin-OnFork-0.006-alt1.noarch.rpm Do Something Whenever a Worker Starts
perl-Mojolicious-Plugin-OpenAPI-1.23-alt1.noarch.rpm OpenAPI / Swagger plugin for Mojolicious
perl-Mojolicious-Plugin-PDFRenderer-0.09-alt1.noarch.rpm Uses wkhtmltopdf via PDF::WebKit to render your app exactly as it looks in Chrome/WebKit but vector
perl-Mojolicious-Plugin-PNGCast-0.22-alt1.noarch.rpm in-process server to display a screencast
perl-Mojolicious-Plugin-PODViewer-0.002-alt1.noarch.rpm POD renderer plugin
perl-Mojolicious-Plugin-PPI-0.07-alt1_4.noarch.rpm Mojolicious Plugin for Rendering Perl Code Using PPI
perl-Mojolicious-Plugin-Pager-0.05-alt1.noarch.rpm Pagination plugin for Mojolicious
perl-Mojolicious-Plugin-Paging-0.0.2-alt1.noarch.rpm Mojolicious paging Plugin
perl-Mojolicious-Plugin-ParamExpand-0.03-alt1.noarch.rpm Use objects and data structures in your forms
perl-Mojolicious-Plugin-ParamLogger-0.03-alt2.noarch.rpm Log request parameters
perl-Mojolicious-Plugin-ParamsAuth-0.03-alt1.noarch.rpm URL Parameters Auth Helper
perl-Mojolicious-Plugin-PayPal-0.08-alt1.noarch.rpm Make payments using PayPal
perl-Mojolicious-Plugin-PetalTinyRenderer-0.05-alt1.noarch.rpm Petal::Tiny renderer plugin
perl-Mojolicious-Plugin-PgAsync-0.03-alt1.noarch.rpm perl module Mojolicious-Plugin-PgAsync
perl-Mojolicious-Plugin-PgLock-0.01-alt1.noarch.rpm postgres advisory locks for Mojolicious application