Blog Entries tagged "authentication"

Upcoming Phoenix Authentication Solution

<p>I’m in the middle of writing an application in <a href="https://elixir-lang.org">Elixir</a> and <a href="https://www.phoenixframework.org">Phoenix</a>, so when I saw a link to <a href="https://dashbit.co/blog/a-new-authentication-solution-for-phoenix">an article by José Valim</a> on an upcoming authentication solution for Phoenix, my initial reaction (before reading it) was negative. José is the author of the <a href="https://github.com/plataformatec/devise">Devise framework</a> for Ruby-on-Rails, so I assumed it was going to be the same idea, but for Elixir and Phoenix. I’ve implemented Devise in a handful of Rails apps, and each and every time I ended up ripping it out and writing my own auth solution (often based on <a href="http://railscasts.com/episodes/250-authentication-from-scratch-revised">this Railscasts tutorial</a>). The reason is that while...</p>

Read More...

Authenticating your Angular / Rails App with JSON Web Tokens

<p><em>UPDATE: There have been some changes in the JWT Gem that make some of the below not work exactly right (it’ll still be about 90% the same). Specifically, they added expiration support. See <a href="/2015/07/20/authentication-using-json-web-tokens-using-rails-and-react">my post on the same topic, but using React.js</a>. The server side code in this post will work just as well with Angular.</em></p> <p></p>

Read More...