OcLazyLoad & JWT

Posted in General by Esteban Sat May 21 2016 20:19:47 GMT+0000 (Coordinated Universal Time)·Viewed 690 times

Hi, I'm trying to use JSONWEBtoken authentication with ocLazyLoad, but canĀ“t insert the token in the lazy load file request, I've tried to set the header in the ocLazyLoadProvider config, but it dosen't work. I found the solution inserting the token in the params of the request, but this is an ugly solution, and I want to find the way to insert the authentication JWT in the header. Thanks a lot
Markdown is allowed