This Week's Trending
This Month's Trending
This Year's Trending
Hi everyone, I hope you’re doing well.
I’m looking for some suggestions or recommendations. I have a Phoenix app up and running, and I’v...
New
I’m renew here. A couple of years ago I was toying with Phoenix, was clinging on to Go a bit too hard. This time, I’m hopefully here to s...
New
So I started getting used to phx.gen.auth and I quite like it at this point. Now I wanted to get some suggestions about something. I’m wo...
New
Hi every one, with my current setup, I have an error with default registration page after run mix phx.gen.auth.
❯ elixir --version
Er...
New
After opening a magic link, the user must click a confirmation button to log in and invalidate the token. I assume this exists to prevent...
New
Last Three Year's Trending
Hi!
I am just looking for a simple :crossed_fingers: way to sign in users from GitHub and GitLab.
I am using Phoenix 1.6, so my go to a...
New
Regarding the phx.gen.auth generator: https://github.com/aaronrenner/phx_gen_auth
I’m trying to understand why, for many of the user to...
New
I created a new app from scratch using mix phx.new <app> --live , then successfully added the auth layer using mix phx.gen.auth.
A...
New
I’ve set a new phoenix project and used gen_auth to create a liveview login/register
mix phx.gen.auth Accounts User users
when accessin...
New
I am in the process of designing my own auth system, and as a result I’ve had a close look at phx.gen.auth to get a feel for best practic...
New
Hi all,
I would like to activate this flow for the users of a Phoenix website (leveraging phx.gen.auth):
A user is automatically creat...
New
Hey guys :slight_smile:
I am quite new to elixir and super fresh in ash.
I already have an app built with phoenix and wanted to use ash...
New
I have a hobby project that I deploy on fly.io since recently.
When I check the logs (with flyctl logs) I can see passwords of users (on...
New
Hi everyone
I would like to know if there’s an updated version (updated to phoenix > 1.7) of this repo
https://github.com/iacobson/p...
New
What’s the point in adding the api-token context to phx.gen.auth controllers if a session token already exists?
Based on this guide: API...
New
I’m, using the authentication system provided by phx.gen.auth, and am generally pretty happy with it. However, I’m experiencing issues wh...
New
Dear all,
when i try create mix phx.gen.auth Accounts User users, my terminal showing some warning like this, what should I do:
swoosh ...
New
is there any way to set up the prebuilt auth system without using phoenix_html? I’m trying to use the mix phx.gen.auth command, but I’m n...
New
Hi everyone,
I created a new live view app and using phx.gen.auth for authentication. How can I achieve the session tokens (cookie) work...
New
Why is there !!@current_scope on line 33 of the generated code? What is this accomplishing?
Why is there a :let={f} on line 26? I see t...
New
Trending Over Three Years
Is phx.gen.auth good enough for role based authentication?
Let’s say for example one was building an e-commerce store.
There would stan...
New
So, I am starting a new phoenix project, and of course I’m going to implement it all using live views. So I have one question: does phx_g...
New
Hello
In the generated authentication code by phx_gen_auth, I learn the following:
A “session cookie” maintains the user logged in for ...
New
When we generate a token, we store the token in a signed cookie (via Plug.Conn.put_session/3) as seen in the generated auth code below:
...
New
Regarding the phx.gen.auth generator: https://github.com/aaronrenner/phx_gen_auth
I’m wondering, does anyone have recommendations for mo...
New
Hi, I’m trying to figure out how to use the new phx.gen.auth generator and I have followed through with the commands here:
But I don’t...
New
Fellow Elixir devs,
I am about to eat a sandwich and a cup of tea so sorry if this question is badly phrased.
Basically, I am working o...
New
Hello everyone,
This is a strange situation right here.
I installed phx.new app --live, ecto.create, all default phx.new 1.6.2 dependen...
New
The phx.gen.auth module has been super helpful for both plug-and-play authentication in the application as well as learning through code....
New
Hey guys, I ran into a slight issue today:
I’m currently building a multi-tenant setup using foreign keys, similar to the docs.
The ten...
New
While examining the source code generated by phx.gen.auth, I found a function in user_auth.ex:
defp renew_session(conn) do
conn
...
New
I am not very experienced with Elixir and struggling with getting my head around how to deal with storing and updating an access token us...
New
My partner and I are planning to develop several phoenix apps for various clients. Any app we build is going to need an authentication/a...
New
I use Phoenix 1.7, “mix phx.gen.auth”, and set up my email with the following code.
# config/config.exs
config :hello, Hello.Mailer,
...
New
I am going through the phx_gen_auth output in more details today…
… and another thing caught a bit of my attention:
def create(conn, ...
New
Latest on Elixir Forum
Get money off!
The Pragmatic Bookshelf
35% off any eBook
Manning Publications
45% off any item
ElixirCasts
10% off for life
The Pragmatic Studio
20% off any course
AppSignal
10% off for 12 months
Honeybadger
10% off for 12 months
Simply use coupon code "devtalk.com" or "elixirforum" at checkout!
Filter by Type:
Sub Categories:
Popular Tags
- #ecto
- #liveview
- #troubleshooting
- #learning-elixir
- #deployment
- #library
- #erlang
- #testing
- #genserver
- #mix
- #absinthe
- #remote-other
- #otp
- #plug
- #how-to-question
- #macros
- #postgres
- #channels
- #exunit
- #elixirconf
- #discussion
- #javascript
- #podcasts
- #code-sync
- #onsite
- #dialyzer
- #docker
- #authentication
- #umbrella
- #full-time-contract
- #podcasts-by-brainlid
- #ecto-query
- #elixir-ls
- #phoenix_html
- #iex
- #blog-post
- #graphql
- #genstage
- #ai
- #websockets
- #supervisor
- #advent-of-code
- #distillery
- #processes
- #forms
- #api
- #metaprogramming
- #security
- #performance
- #hex







