Cleaning up Phoenix Controller Actions Passing a function inside @assigns in Phoenix - Elixir

Implementing link following with OAuth

Link following is the process for dynamically redirecting a user after successful authentication.

I briefly detail how to implement this using the Phoenix and Ueberauth libraries.

Shameless plug: Check out @elixirstatus' other community project:

Credo, a new static code analysis tool that acts as a code linter, but also focusses on teaching coding practices and code consistency.