
Security News
New Website “Is It Really FOSS?” Tracks Transparency in Open Source Distribution Models
A new site reviews software projects to reveal if they’re truly FOSS, making complex licensing and distribution models easy to understand.
omniauth-khan-academy
Advanced tools
This is an OmniAuth 1.0 strategy for authenticating to KhanAcademy.
Add this line to your application's Gemfile:
gem 'omniauth-khan-academy'
And then execute:
$ bundle
Or install it yourself as:
$ gem install omniauth-khan-academy
Register[http://www.khanacademy.org/api-apps/register] your app at KhanAcademy and get your consumer token and secret.
In a Rack application:
use OmniAuth::Builder do
provider :khan_academy, CONSUMER_TOKEN, CONSUMER_SECRET
end
For Rails, put this in your omniauth configuration file:
Rails.application.config.middleware.use OmniAuth::Builder do
provider :khan_academy, CONSUMER_TOKEN, CONSUMER_SECRET
end
Restart the server and visit "*/auth/khanacademy" to try it out.
The default callback is routed to "*/auth/khanacademy/callback" but you can override it as shown:
provider :khan_academy, CONSUMER_TOKEN, CONSUMER_SECRET, callback_url: "my_callback_url"
git checkout -b my-new-feature
)git commit -am 'Added some feature'
)git push origin my-new-feature
)FAQs
Unknown package
We found that omniauth-khan-academy demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer 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
A new site reviews software projects to reveal if they’re truly FOSS, making complex licensing and distribution models easy to understand.
Security News
Astral unveils pyx, a Python-native package registry in beta, designed to speed installs, enhance security, and integrate deeply with uv.
Security News
The Latio podcast explores how static and runtime reachability help teams prioritize exploitable vulnerabilities and streamline AppSec workflows.