Fork me on GitHub
#pedestal
<
2017-10-23
>
souenzzo14:10:51

@jjttjj I use this https://funcool.github.io/buddy-sign/latest/#signing-data + a custom/simple interceptor that take a token on enter and write the user-id on :request, and update/write it back on headers on leave. after this authentication, I have another authorization interceptor that get user-id + route from context, and "do a complex stuff"

ddeaguiar15:10:41

@jjttjj, I’ve got a PR open with Pedestal that adds a Buddy Auth example (https://github.com/pedestal/pedestal/pull/503). You may find it useful.

jjttjj16:10:49

Great thank you both!