Popularity
8.7
Growing
Activity
6.5
Declining
319
18
22

Description

Authentication library for Phoenix, and other Plug-based, web applications.

Phauxth is designed with Phoenix 1.3 in mind, but it can also be used with older versions of Phoenix and any other Plug-based application. It is designed to be secure, extensible and well-documented.

For a general overview of some of the goals of Phauxth and its basic usage, see this post.

The wiki also has information about authorization and upgrading existing apps.

Monthly Downloads: 3,625
Programming language: Elixir
License: BSD 3-clause "New" or "Revised" License
Tags: Authentication     Authorization     Phoenix    
Latest version: v2.3.0

Phauxth alternatives and similar packages

Based on the "Authentication" category

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

Add another 'Authentication' Package

README

Phauxth

Hex.pm Version Build Status

Phauxth is an authentication library for Phoenix, and other Plug-based, web applications. It is designed to be secure, extensible, easy to use and well-documented.

For a general overview of some of the goals of Phauxth and its basic usage, see this post.

Upgrading from version 2.0 to 2.1

In version 2.1 and above, you need to remove all the references to Comeonin. Make the following changes in your app (if necessary, replacing Argon2 with the hashing module you are using):

  • in the user context module, change Comeonin.Argon2.add_hash to Argon2.add_hash
  • if you are using a custom login module, remove alias Comeonin.Argon2
  • in the Phauxth config, replace Comeonin.Argon2 with Argon2

For more details, see the upgrade guide.

Getting started

This guide shows how you can set up a new Phoenix project with Phauxth.

Authentication and authorization

The core Phauxth library handles authentication, verifying who the user is.

For information about authorization, or access control, see the Authorization page in the wiki.

If you have set up your app using the Phauxth installer, the authorize.ex file in the controllers directory provides examples of functions you can use to authorize users' access to resources.

Example apps using Phauxth

Contributing

There are many ways you can contribute to the development of Phauxth, including:

Donations

First of all, I would like to emphasize that this software is offered free of charge. However, if you find it useful, and you would like to buy me a cup of coffee, you can do so at paypal.

Documentation

http://hexdocs.pm/phauxth

License

BSD


*Note that all licence references and agreements mentioned in the Phauxth README section above are relevant to that project's source code only.