pow
pow copied to clipboard
Robust, modular, and extendable user authentication system
If I set my `password` field to `nil` on my schema, and the `current_password` field to the current password, I get this error: ``` ** (ArgumentError) argument error (argon2_elixir 2.4.0)...
I've found what appears to be a bug. I'm using Pow in a Phoenix API and I have an endpoint to update user details such as password and email address....
What would be the best way to add additional checks for authentication? Adding a plug at the end of the protected pipeline is what I would assume would be the...
For testing a liveview with pow the user doesn't need to only be in the `conn.assigns`, but one does need a proper session created in the session store. How would...
Currently `Pow.Operations` only passes the config to the `Pow.Ecto.Context` module, but not any custom context module: ```elixir @spec authenticate(map(), Config.t()) :: map() | nil def authenticate(params, config) do case context_module(config)...
In my system, I store an FCM token (android push notification token) per user which I use to send period notifications to my clients. So, for example, let's say I...
When leveraging PowResetPassword: ```elixir defmodule Foo.Users.User do use Foo.Schema use Pow.Ecto.Schema use Pow.Extension.Ecto.Schema, extensions: [PowInvitation, PowResetPassword] ... end ``` Warning on docs generation: ``` > mix docs Generating docs... warning:...
Add two factor support to Pow with at least OTP and FIDO U2F support. Good primer for ensuring secure and useful two factor setup: https://medium.com/@stuartschechter/before-you-turn-on-two-factor-authentication-27148cc5b9a1 Edit: Here's some security considerations:...
Pow has a guide for [configuring the password hashing algorithm](https://hexdocs.pm/pow/production_checklist.html#optional-use-an-appropriate-password-hash-method). There may come a time where people need to switch between password hashing methods (say, bcrypt/pbkdf2 to argon, or Pow's...
I have an app where I need multitenancy without schemas. I have a column in the users table which I use for that. How can I achieve this with pow?...