New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

minnie-ldap

Package Overview
Dependencies
Maintainers
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

minnie-ldap

  • 0.0.2
  • Rubygems
  • Socket score

Version published
Maintainers
1
Created
Source

#Minnie-LDAP

minnie-ldap is an authentication strategy for the minnie gem.

###Install

Add minnie-ldap to your Gemfile

 gem 'minnie-ldap'

Now follow the instructions for the minnie gem to run the generator. Here's a hint:

 bundle exec rails generate minnie:install

Now get rid of the generated lines in the user model so that your model looks like this:

 class User < ActiveRecord::Base
   include Minnie::User::Ldap
 end

You'll also need to add a username to the migration. Try this on the command line:

 bundle exec rails g migration AddUsernameToUsers username:string

You're all done! Now try to sign in to your app at /signin. Make sure you use a valid LDAP user.

###Issues

There isn't much code here so try resolving issues on your own. If you get some issues fixed, send me a pull request!

If you're not making any headway, just create an issue and I'll try to look at it.

FAQs

Package last updated on 01 Mar 2012

Did you know?

Socket

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.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc