Latest #phx_gen_auth Threads Top

lcabrini
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
ostap
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
lcabrini
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
manhtranlinh
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
cgraham
Please change passwordless login from a link to a 6-8 digit code a user can enter. Gen Auth in the latest RC 1.8 of Phoenix defaults ...
New
GabrielWilliamson
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
mythicalprogrammer
The confirmation page the forms are wrapped around with a div class=“mx-auto max-w-sm” but the setting page is not. Is that on purpose? ...
New
windexoriginal
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
imprest
I just wondering, if you are navigating within the same live_session i.e. “/home” ↔ “/users/settings” live_session :require_authenti...
New
leifmetcalf
Is there a way to let authenticated users live_navigate from an authenticated route to an unauthenticated route without a doing a page re...
New

This Week's Trending Top

This Month's Trending Top

This Year's Trending Top

GabrielWilliamson
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
cgraham
Please change passwordless login from a link to a 6-8 digit code a user can enter. Gen Auth in the latest RC 1.8 of Phoenix defaults ...
New
lcabrini
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
lcabrini
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
manhtranlinh
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
ostap
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 Top

marcin
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
paulstatezny
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
karim-semmoud
My beginner journey into Elixir, Phoenix and Liveview started when reading about Changelog website and how fast it was reported to be by ...
New
New
tduccuong
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
experimentix
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
garrison
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
ca1989
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
webspaceadam
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
jaimeiniesta
I’ve been using Pow for authentication in my app since long ago, but now that phx.gen.auth is battle-tested I’m considering moving from P...
New
coen.bakker
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
rsmrsm
Hi everyone I would like to know if there’s an updated version (updated to phoenix > 1.7) of this repo I’m looking for a reference...
New
revid
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
munksgaard
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
obetReyes
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

Trending Over Three Years Top

angelmz
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
kelvinst
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
thojanssens1
Hello In the generated authentication code by phx_gen_auth, I learn the following: A “session cookie” maintains the user logged in for ...
New
thojanssens1
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
paulstatezny
Regarding the phx.gen.auth generator: https://github.com/aaronrenner/phx_gen_auth I’m wondering, does anyone have recommendations for mo...
New
roostercrab
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
slouchpie
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
kurmetaubanov
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
cvkmohan
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
marcelfahle
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
kuroda
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
maxmannen
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
vincentopensourcetai
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
tadasajon
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
silverdr
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
  • Follow
  • Join
  • Shape
the conversation

Latest on Elixir Forum

Elixir Forum

Similar Portals

    None added yet

We're in Beta

About us Mission Statement