The Phoenix docs include a suggestion for how you can extend `phx.gen.auth` to add token-based authentication to your API: https://hexdocs.pm/phoenix/api_authentication.html
(No, this isn't "rolling your own auth" either, it's using someone else's pre-written auth code.)
The Phoenix docs include a suggestion for how you can extend `phx.gen.auth` to add token-based authentication to your API: https://hexdocs.pm/phoenix/api_authentication.html
(No, this isn't "rolling your own auth" either, it's using someone else's pre-written auth code.)