Install ruby-rack-oauth2 by entering the following commands in the terminal:
sudo apt update sudo apt install ruby-rack-oauth2
Description:
Rack interface for an OAuth 2.0
This gem provides a Rack interface for an OAuth 2.0 Server & Client Library. It supports both Bearer and MAC token types. Rack provides a minimal, modular, and adaptable interface for developing web applications in Ruby. OAuth is an open standard for authorization. OAuth provides client applications a 'secure delegated access' to server resources on behalf of a resource owner.
Homepage: http://github.com/nov/rack-oauth2
Version: 1.4.0-1
Section: universe/ruby