security/rubygem-omniauth-oauth2-generic-gitlab 0.2.8 MidnightBSD
Generic, Configurable OmniAuth Strategy for OAuth2 providers
- System
- MidnightBSD
- Repository
- mports
- Maintainer
- [email protected]
- Last update
- Commit
c3615a493c- License
- mit
- Categories
- security, rubygems
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.
In the other systems
| System | Port | Version |
|---|---|---|
| MidnightBSD | security/rubygem-omniauth-oauth2-generic-gitlab | 0.2.8 |
| FreeBSD | security/rubygem-omniauth-oauth2-generic-gitlab | 0.2.8 |
| DragonFly | security/rubygem-omniauth-oauth2-generic-gitlab | 0.2.8 |
| HardenedBSD | security/rubygem-omniauth-oauth2-generic-gitlab | 0.2.8 |
| GhostBSD | security/rubygem-omniauth-oauth2-generic-gitlab | 0.2.8 |
Install
Binary package:
mport install omniauth-oauth2-generic-gitlab
From mports:
cd /usr/mports/security/rubygem-omniauth-oauth2-generic-gitlab && make install clean
To depend on this port in another port's Makefile:
RUN_DEPENDS= omniauth-oauth2-generic-gitlab>0:security/rubygem-omniauth-oauth2-generic-gitlab
Dependencies
As this port's Makefile names them.
Build 2
rubygem-omniauth-oauth2-gitlab>=1.0<2: net/rubygem-omniauth-oauth2-gitlabrubygem-rake>=0: devel/rubygem-rake
Runtime 2
rubygem-omniauth-oauth2-gitlab>=1.0<2: net/rubygem-omniauth-oauth2-gitlabrubygem-rake>=0: devel/rubygem-rake
Build dependencies 2
Run dependencies 2
No port depends on this one.
Configuration
No options to configure.
- USES
- gem
- Service scripts
- none
Files
distinfo 1
| File | Size | SHA256 |
|---|---|---|
| rubygem/omniauth-oauth2-generic-0.2.8.gem | 12288 | ce6e8539019d5ebf2f48867072b9f248f148bb4cbe7166dee655865abfae7613 |
Master sites 1
- RG
Commit history 1
| Date | Commit | Credits | Log message |
|---|---|---|---|
c3615a493c |
Lucas Holt | security/rubygem-omniauth: add build dependencies Mirror runtime gem dependencies into BUILD_DEPENDS for the Atlassian OAuth2 and generic OAuth2 OmniAuth ports so clean package builds satisfy fake-qa gem dependency checks.
AI-Assisted-by: OpenAI Codex <[email protected]>
Signed-off-by: Lucas Holt <[email protected]> |