ngx-admin-bundle-support icon indicating copy to clipboard operation
ngx-admin-bundle-support copied to clipboard

HTTP Auth Error while Pulling Profile Pic

Open caelinsutch opened this issue 5 years ago • 2 comments

Console is showing this error and reporting a 401 unauthorized while trying to pull the profile picture.

GET http://localhost:3001/api/users/5d5d9ec68a47372fa25fdb99/photo?token=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpZCI6IjVkNWQ5ZWM2OGE0NzM3MmZhMjVmZGI5OSIsInJvbGUiOiJ1c2VyIiwiaWF0IjoxNTY2NDIxNzc1fQ.CJ9RWwb3ER8BPez5465jg3WO8ULDPQiqSc0q5nKM7Hs 401 (Unauthorized)

caelinsutch avatar Aug 25 '19 21:08 caelinsutch

Hi, yeah this is the case for several bundles like node.js one. We don't have yet endpoint to download photo in node bundle (only in .NET and Java at the moment). But UI call is there, so you see the issue in the console. It's not critical, no effect to other application functions at all, because it's just browser tries to load picture by URL and there it no such url or it's forbidden.

Will be fixed on one of the upcoming releases this year.

Thanks for letting us know!

valentinkononov avatar Aug 27 '19 07:08 valentinkononov

Issue still not fixed in terms of user pic!!

enixlabs avatar Aug 18 '20 18:08 enixlabs