Discussions

Ask a Question
Back to All

OcLazyLoad & JWT

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