dwyl / dwyl/auth

phx.gen.auth ?

Open
#133 6 comments 0 reactions 1 assignee Claimed by @SimonLab View on GitHub
chore priority-2 question T1h technical
Dominant language
Elixir
Stars
141
Forks
8
PR merge metrics
No merged PRs in 30d

Description

I was not aware of the existence of this project: https://github.com/aaronrenner/phx_gen_auth
(_until this evening when I was trying to catch up on Phoenix related YT videos ..._)

From watching this intro by Bruce Tate: https://youtu.be/YlDO07P3oL0
[![image](https://user-images.githubusercontent.com/194400/94866917-1dd35180-0438-11eb-82a0-919224a183dc.png)](https://youtu.be/YlDO07P3oL0)

The generator _does_ inject a bunch of code into your project that you then have to _maintain_.
It does _not_ give you a turnkey authentication scheme beyond email + password (_i.e. no OAuth via Google/GitHub/etc._)
and does _not_ hookup to any email sending provider.
It's very much "**batteries _not_ included**" as you can see from this forum topic:
https://elixirforum.com/t/how-to-use-phx-gen-auth/31619

Obviously, if it has José's blessing https://github.com/dashbitco/mix_phx_gen_auth_demo
then it will become the defacto standard in the `Elixir` Community
and possibly even the inclusion into Phoenix 2.0. 💭 🤷

So I need to invest a couple of hours into trying to run this on `localhost` and see where the overlap is.
And determine what to _do_ about it. 🤔

I **_really_ wish** this had all existed **_last_ year**when we were deciding how to handle `auth` in our App(s) ... 🙄

As much as I would like to think that the code I've written in `auth` is "better" I _must_ keep an [open mind](https://en.wikipedia.org/wiki/Shoshin) and if this generator is _useful_ to us, I will determine how much work it is to use it.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.