absmach / magistrala-ui

UI Repository for Magistrala IoT
10 stars 17 forks source link

NOISSUE - Use `userProfile` to get user ID #189

Closed rodneyosodo closed 7 months ago

rodneyosodo commented 7 months ago

What type of PR is this?

What does this do?

There was an existing bug where by we decoded userID from the token without verifying who signed the token. With this, we have moved to using userProfile to get userID

Which issue(s) does this PR fix/relate to?

No issue

Have you included tests for your changes?

Did you document any new/modified functionality?

Notes