akveo / ngx-admin-bundle-support

Support repository for ngx-admin backend bundles with issues tracking, instructions and code samples
58 stars 32 forks source link

HTTP Auth Error while Pulling Profile Pic #27

Open caelinsutch opened 4 years ago

caelinsutch commented 4 years ago

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)
valentinkononov commented 4 years ago

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!

enixlabs commented 3 years ago

Issue still not fixed in terms of user pic!!