disarm-dev / douma-api

DiSARM api (2018 and beyond)
MIT License
2 stars 1 forks source link

cannot access root routes without login #7

Closed onlyjsmith closed 6 years ago

onlyjsmith commented 6 years ago

This shows up as a 'User not authorised' snackbar when you're logging in - does not evoke confidence!

Nicolaidavies commented 6 years ago

@mosaic141688 and I had a chat about this earlier.

Adding the root route / to the public routes is not easy on the server. @mosaic141688 I forgot exactly why. Could you elaborate?

The easiest might be to catch and swallow the error for the wake up on the client for now.

Nicolaidavies commented 6 years ago

Hmmm. Just checked on the surge version. I cannot reproduce now, although I've definitely seen it before!

onlyjsmith commented 6 years ago

Can you try hitting refresh_users_endpoint