Popularity
1.3
Stable
Activity
0.0
Stable
10
1
0

Monthly Downloads: 2
Programming language: Elixir
License: MIT License

plug_password alternatives and similar packages

Based on the "Framework Components" category.
Alternatively, view plug_password alternatives based on common mentions on social networks and blogs.

Do you think we are missing an alternative of plug_password or a related project?

Add another 'Framework Components' Package

README

PlugPassword

Build Status

Simple authentication plug based on rack_password. Similary it will ask you for password only once and store it in your cookie (not like basic auth).

Hex.pm package HexDocs

Installation

The package can be installed by adding plug_password to your list of dependencies in mix.exs:

def deps do
  [
    {:plug_password, "~> 0.3.0"}
  ]
end

then plug it before your router:

plug PlugPassword.Block, passwords: ["hello", world],
  template: Authentication,
  path_whitelist: ~r/users/,
  ip_whitelist: ["86.123.112.78"],
  custom_rule: &Authentication.custom_rule/1

plug PlugPasswordTestWeb.Router

check possible options to pass to plug in HexDocs.