Hi Chris,
Chris Shenton wrote:
My implementation may not be the cleanest and I'm still uncertain
about doing auth in my account.py controller versus doing something
with valid() in app_globals.py.
Well, you only need to use valid() if you want the AuthKit middleware to
handle the authentication. Since you are using the forward method your
application has to handle authentication itself so your setup is correct!
This is really useful actually, thanks! I'm going to see if I can find a
simple way to package it up so that it can form part of AuthKit itself,
perhaps using Elixir and ToscaWidgets to make it look a bit simpler.
Cheers,
James