
Security News
CISA’s 2025 SBOM Guidance Adds Hashes, Licenses, Tool Metadata, and Context
CISA’s 2025 draft SBOM guidance adds new fields like hashes, licenses, and tool metadata to make software inventories more actionable.
= OmniAuth::OAuth
OAuth 1.0 and 2.0 strategies for the OmniAuth gem.
== Installation
To get just OAuth functionality:
gem install oa-oauth
For the full auth suite:
gem install omniauth
== Stand-Alone Example
Use the strategy as a middleware in your application:
require 'omniauth/oauth'
use OmniAuth::Strategies::Twitter, 'consumer_key', 'consumer_secret'
Then simply direct users to '/auth/twitter' to have them authenticate via Twitter.
== OmniAuth Builder
If you want to allow multiple providers, use the OmniAuth Builder:
require 'omniauth/oauth'
use OmniAuth::Builder do
provider :twitter, 'consumer_key', 'consumer_secret'
provider :facebook, 'client_id', 'client_secret'
end
FAQs
Unknown package
We found that oa-oauth demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 2 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
CISA’s 2025 draft SBOM guidance adds new fields like hashes, licenses, and tool metadata to make software inventories more actionable.
Security News
A clarification on our recent research investigating 60 malicious Ruby gems.
Security News
ESLint now supports parallel linting with a new --concurrency flag, delivering major speed gains and closing a 10-year-old feature request.