SVG reader cannot use files from content library when logged in as JWT
Closed this issue · 1 comments
Dear Brian ,
since a while we are doing POC on our new platform. all worked fine before when using windows accounts .
all was tested thoroughly in resepct to path and security rules .
since recent we switched to JWT / SSO and now the svg reader says 'cannot load SVG file' on all POC dashboards when we log in with a JWT /SSO , if we then log in with a regular windows over the HUB users it works normally.
we tested the access to the content library folders by adding an image file , that image file we can see in our dashboard so the JWT/SSO does passes the security rules correct .
even when i then provide rootadmin access to one ot the users it still says 'cannot load svg' , to me this indicates that somehow the credentials are lost in transition between svg readers and the content libraries .
is this been reported before? , any idea what might happen ?
best regards,
Luc
update :
we figured out that the path that is given in the content library for a SVG file is not parsed correctly when using JWT and embedding . we bypassed this by adding .'s and 's to the front .
example :
path from content library : /content/citi/3rd%20floor.svg
setting in svg reader :
=IF (loc_building = '3rd floor' or loc_floor ='03', '/content/citi/3rd%20floor.svg',
"could not find SVG" error.
changed setting in svg reader to
=IF (loc_building = '3rd floor' or loc_floor ='03', '...\content\citi\3rd%20floor.svg',
plan is correctly showed
so in theory , issue can be closed for us .