Skip to content

Instantly share code, notes, and snippets.

View mhanberg's full-sized avatar
🏎️
Vroom

Mitchell Hanberg mhanberg

🏎️
Vroom
View GitHub Profile
@mhanberg
mhanberg / implementing-auth.md
Last active November 27, 2017 20:49
draft of elixir blog post

Most applications need some sort of authentication and authorization, and REST API's are no different. If you are familiar with web development but have never worked on one that does not have a front end (like me), then the authentication functionality might stump you at first.

What is Guardian?

Guardian is a token based authentication library for use with Elixir applications.

  • More can be learned by reading its documentation, which I highly recommend.
  • Keep in mind that the "tokens" that Guardians refers to are JSON Web Tokens.