Add rubygem-omniauth-oauth2-generic 0.2.2
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. WWW: https://gitlab.com/satorix/omniauth-oauth2-generic
This commit is contained in:
parent
6df8323c8e
commit
5a2dda6134
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=436729
@ -1028,6 +1028,7 @@
|
||||
SUBDIR += rubygem-omniauth-cas3
|
||||
SUBDIR += rubygem-omniauth-gitlab
|
||||
SUBDIR += rubygem-omniauth-multipassword
|
||||
SUBDIR += rubygem-omniauth-oauth2-generic
|
||||
SUBDIR += rubygem-omniauth-saml
|
||||
SUBDIR += rubygem-omniauth-shibboleth
|
||||
SUBDIR += rubygem-openssl-ccm
|
||||
|
24
security/rubygem-omniauth-oauth2-generic/Makefile
Normal file
24
security/rubygem-omniauth-oauth2-generic/Makefile
Normal file
@ -0,0 +1,24 @@
|
||||
# Created by: Po-Chuan Hsieh <sunpoet@FreeBSD.org>
|
||||
# $FreeBSD$
|
||||
|
||||
PORTNAME= omniauth-oauth2-generic
|
||||
PORTVERSION= 0.2.2
|
||||
CATEGORIES= security rubygems
|
||||
MASTER_SITES= RG
|
||||
|
||||
MAINTAINER= sunpoet@FreeBSD.org
|
||||
COMMENT= Generic, Configurable OmniAuth Strategy for OAuth2 providers
|
||||
|
||||
LICENSE= MIT
|
||||
LICENSE_FILE= ${WRKSRC}/LICENSE.md
|
||||
|
||||
RUN_DEPENDS= rubygem-omniauth-oauth2>=1.0:net/rubygem-omniauth-oauth2
|
||||
|
||||
NO_ARCH= yes
|
||||
USE_RUBY= yes
|
||||
USES= gem
|
||||
|
||||
post-install:
|
||||
${RM} ${STAGEDIR}${PREFIX}/bin/console ${STAGEDIR}${PREFIX}/bin/setup
|
||||
|
||||
.include <bsd.port.mk>
|
3
security/rubygem-omniauth-oauth2-generic/distinfo
Normal file
3
security/rubygem-omniauth-oauth2-generic/distinfo
Normal file
@ -0,0 +1,3 @@
|
||||
TIMESTAMP = 1490206997
|
||||
SHA256 (rubygem/omniauth-oauth2-generic-0.2.2.gem) = e30814f6c472e04f3d9e4a3ddc03bc9a46f53f9333f8d443bf3ad43c6ebcdbd4
|
||||
SIZE (rubygem/omniauth-oauth2-generic-0.2.2.gem) = 9216
|
18
security/rubygem-omniauth-oauth2-generic/pkg-descr
Normal file
18
security/rubygem-omniauth-oauth2-generic/pkg-descr
Normal file
@ -0,0 +1,18 @@
|
||||
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.
|
||||
|
||||
WWW: https://gitlab.com/satorix/omniauth-oauth2-generic
|
Loading…
Reference in New Issue
Block a user