JWT Authentication with Elixir & Phoenix

Free Download Udemy JWT Authentication with Elixir & Phoenix. With the help of this course you can Dive into the functional programming realm with none other than Elixir, the stack which powers Whatsapp, Discord etc..

This course was created by . It was rated 0 out of 5 by approx 0 ratings. There are approx 1 users enrolled with this course, so don’t wait to download yours now. This course also includes 174 mins on-demand video, Full lifetime access, Access on mobile and TV & Certificate of Completion.

What will I need?

  • Basic knowledge of Elixir & PostgreSQL or any relational database is required. Phoenix can be picked up along the way.

Is this course right for me?

  • Amateur Elixir Developers and functional programming enthusiasts

What am I going to learn?

  • Learn how to implement JWT based authentication in rest style with Elixir & Phoenix
  • Register, Login, Logout, Protected Rooutes, we have it all
  • A pure hands on course, no theories no slides only VS-Code and Postman
  • Dive into the tech stack which powers our very own WhatsApp, Discord, Pinterest and alike.

Implement JWT based authentication in Elixir. The language which powers, in one way or another (ErLang) Whatsapp, Discord, Pinterest etc.

We will be using Phoenix Framework, the fantastic MVC framework for developing backends and full stack projects in Elixir. Consider Phoenix more like Express of Node.js but way more cooler of course. Well, Elixir altogether is cooler than any other language I code but nevertheless, one thing at a time.


  1. Users

    1. Register User

      1. Accept user details like “email”, “password”, “username” etc. and persist it in the db (PostgreSQL).

    2. Password Hashing

      1. Store irreversible one way hashed password in the db rather than storing the plain tet password, which would be a disaster if you ask me.

    3. Login

      1. Login based on “username” and “password”. Validate password w.r.t password hash stored in the db and if everything matches up issue a JWT token for further interaction with the API (protected routes).

    4. Get Authenticated User

      1. Get back the authenticated user w.r.t to token passwed in the authorization header. But avoiding spitting back the password and fetching it altogether from the db, even though it is hashed it still does not make any sense.

    5. Logout

      1. Invalidating a JWT token by storing it against the “user_id” in the db. So that after log out with a particular token, that token can not be used again for accessing private routes. We did this since JWT tokens can not be destroyed they can only be expired when there time comes. So what happens when someone logs out before their token expires? Oxygen for thought.

  2. Protected Routes

    1. Implement private routes to maintain an access control list => what can be accessed and what not. For example, a non authenticated user (guest) should not have access to the following apis

      1. Logout

      2. Ping (an example of ping pong Get request to demonstrate private route mechanism).

      3. etc…

  3. Postman

    1. Test the REST API with Postman along the way, while developing each route/api.

  4. A lot more

    1. We will be learning a lot more than written, about Elixir, Phoenix, PostgreSQL, and creating REST APIs altogether.

Buy Udemy’s JWT Authentication with Elixir & Phoenix

Note: We have purchased this course/tutorial from Udemy and we’re sharing the download link with you for absolutely FREE. So you can learn & be your own master if you can’t afford to buy this course. But if you have money we strongly suggest you to buy JWT Authentication with Elixir & Phoenix course/tutorial from Udemy. So, the course’s author  can help you if you can’t understand something or if you want to learn something spectacular.

Free Download Udemy’s JWT Authentication with Elixir & Phoenix

You might also like

This website uses cookies to improve your experience. We'll assume you're ok with this, but you can opt-out if you wish. Accept Read More