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.