---
title: "Discussion on \"Elixir API and Elm SPA - Part 2\" | Hashnode"
description: "Discussion on \"Elixir API and Elm SPA - Part 2\". Part 2: Adding Guardian Authentication\nNow we're going to add authentication to our app. As this is going to be a JSON REST API we are going to use a token that needs to be passed as a header in each request made to the API. We are going to use Guard..."
url: "https://hashnode.com/posts/elixir-api-and-elm-spa-part-2/6171f1500c5e175a1c6138cb"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [Elixir API and Elm SPA - Part 2](https://blog.miguelcoba.com/elixir-api-and-elm-spa-part-2?utm_source=hashnode&utm_medium=feed)

Part 2: Adding Guardian Authentication Now we're going to add authentication to our app. As this is going to be a JSON REST API we are going to use a token that needs to be passed as a header in each request made to the API. We are going to use Guard...

Jun 16, 2018 · 11 min read · blog.miguelcoba.com  
Read the article

-   [#elixir](https://hashnode.com/tag/elixir)
-   [#apis](https://hashnode.com/tag/apis)
-   [#spa](https://hashnode.com/tag/spa)
-   [#elm](https://hashnode.com/tag/elm)
-   [#web-development](https://hashnode.com/tag/web-development)

## Written by

[Miguel Cobá](https://hashnode.com/@miguelcoba)

@miguelcoba · Barcelona, Spain

  
[View profile](https://hashnode.com/@miguelcoba)

Elixir and Elm programmer. eBook writer

I write about Elixir, Elm, Software Development, and eBook writing.

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
