linagora / esn

OpenPaaS web & API server
4 stars 0 forks source link

Update ESN to support image display when using JWT #26

Open chamerling opened 4 years ago

chamerling commented 4 years ago

From #20, we will be able to authenticate with OIDC and so use bearer header instead of cookies. This leads to HTTP 401 errors on images loading.

One way to to it is to create an attribute directive on img to fetch the image as blob using HTTP headers and updates the element when image is downloaded.

chamerling commented 4 years ago

@rezk2ll this one must be addressed when working back on OIDC.

MichaelBailly commented 4 years ago

@chamerling I don't understand the issue. What images are we talking about here ?

chamerling commented 4 years ago

At least the avatars