absmach / magistrala-ui

UI Repository for Magistrala IoT
9 stars 15 forks source link

MG-156 - Add domain login middleware #167

Closed ianmuchyri closed 4 months ago

ianmuchyri commented 5 months ago

What type of PR is this?

What does this do?

Add a domain login middleware that checks the token being used to access a page if it contains the domain field. If it does not the user is redirected to the domains page automatically so that they can log into a domain before proceeding

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

Have you included tests for your changes?

Did you document any new/modified functionality?

Notes