Security News
Fluent Assertions Faces Backlash After Abandoning Open Source Licensing
Fluent Assertions is facing backlash after dropping the Apache license for a commercial model, leaving users blindsided and questioning contributor rights.
Unofficial OmniAuth strategy for Edlink integration via OAuth 2.0.
Add the gem to your application's Gemfile:
gem 'omniauth-edlink'
And then execute:
$ bundle
First, you need to have Edlink account and application created. In the application Overview screen you can find Application Keys section with "Application ID" field. This is used as a Client ID in the Omniauth strategy. Beneath, there is a "Application Secrets" section where you can generate secret keys. Copy one of them and use them in the strategy configuration as client secret.
Rails.application.config.middleware.use OmniAuth::Builder do
provider :edlink, 'your-edlink-application-key', 'your-edlink-secret-key'
end
Or, alternatively, if you use Devise, you can put this in the Devise.setup
section:
config.omniauth :edlink,
'your-edlink-application-key',
'your-edlink-secret-key'
If for some reason you know the Edlink's integration id for a particular SSO request (e.g. from your application subdomain or from typed email address) and you want to take your users directly to their upstream SSO login page instead of generic Edlink login page, you can pass additional integration_id
parameter to the redirect request, e.g.:
redirect_to "/auth/edlink?integration_id=#{integration_id}"
This will redirect the user to the Edlink's SSO login page for the specified integration id.
MIT
FAQs
Unknown package
We found that omniauth-edlink demonstrated a healthy version release cadence and project activity because the last version was released less than 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
Fluent Assertions is facing backlash after dropping the Apache license for a commercial model, leaving users blindsided and questioning contributor rights.
Research
Security News
Socket researchers uncover the risks of a malicious Python package targeting Discord developers.
Security News
The UK is proposing a bold ban on ransomware payments by public entities to disrupt cybercrime, protect critical services, and lead global cybersecurity efforts.