Fork me on GitHub
#pedestal
<
2017-05-14
>
deg12:05:06

What is the recommended way to handle user authentication in a Vase app?

danielcompton21:05:44

@deg I think interceptors?

danielcompton21:05:50

My plan was to put an authn interceptor on the root, and authz interceptors on each vase route

danielcompton21:05:00

But doing authorization that way seems a bit tricky

deg22:05:11

Yup, I assume interceptors. But, I was hoping for something more detailed. Meanwhile, I did find https://github.com/propan/geheimtur. It looks reasonable (at least at my first glance) and has a nicely worked sample for Pedestal. Looks like it should be straightforward to massage it to Vase; I hope to have time to explore. this sometime the next couple of days.