FreeBSD Ports

security/rubygem-omniauth-oauth2-generic 0.2.8

Generic, Configurable OmniAuth Strategy for OAuth2 providers

Repository
FreeBSD ports
Maintainer
[email protected]
License
MIT
Categories
security, rubygems
Package size
10.4 KiB, 22.4 KiB installed

Description

omniauth-oauth2-generic provides an OmniAuth strategy for authenticating with an OAuth2 service using the authorization grant flow.

Most OmniAuth gems are written either as abstractions (omniauth-oauth2) or for a specific provider (omniauth-github), but this one is designed to be configurable enough to work with any basic OAuth2 provider. The primary differences between OAuth2 provider strategies in OmniAuth are:

  • The server's domain
  • The URL paths used to authorize, request tokens and get user info
  • The structure of the returned user information

These are all configurable options in this gem. There my be certain requirements/features of some providers not covered by this gem's options, but it was designed primarily so that if you are implementing your own OAuth2 provider for your service, you don't need to write an OmniAuth strategy as long as it is compatible with the basic options provided by this gem.

Install

As a binary package — by origin, or by package name:

pkg install security/rubygem-omniauth-oauth2-generic
pkg install rubygem-omniauth-oauth2-generic

From the ports tree:

cd /usr/ports/security/rubygem-omniauth-oauth2-generic/ && make install clean

To depend on this port in another port's Makefile:

RUN_DEPENDS=	rubygem-omniauth-oauth2-generic>0:security/rubygem-omniauth-oauth2-generic

Packages

The version each package repository carries. “-” means the repository builds no package of it, “n/a” that there is no such repository.

Repositoryaarch64amd64armv6armv7i386
FreeBSD:14:latest0.2.80.2.80.2.80.2.80.2.8
FreeBSD:14:quarterly0.2.80.2.8n/a0.2.80.2.8
FreeBSD:15:latest0.2.80.2.8n/a0.2.80.2.8
FreeBSD:15:quarterly0.2.80.2.8n/an/an/a
FreeBSD:16:latest0.2.80.2.8n/an/an/a
FreeBSD:16:quarterlyn/an/an/an/an/a

Dependencies

As this port's Makefile names them.

Runtime 2

The full lists below include those, and their dependencies in turn.

All build dependencies 6
All run dependencies 28

No port depends on this one.

Configuration

No options to configure.

USES
gem
Service scripts
none

Files

distinfo 1
FileSizeSHA256
rubygem/omniauth-oauth2-generic-0.2.8.gem12288ce6e8539019d5ebf2f48867072b9f248f148bb4cbe7166dee655865abfae7613
Master sites 1
  • RG

Commit history 0

No commits in the history this site was built from.