Open mrquincle opened 7 years ago
Currently trying to obtain a sphere with an incorrect id, for example id 0 leads to 401 errors:
id 0
http://crownstone-cloud.herokuapp.com/explorer/#!/Sphere/Sphere_findById
This is exactly the same error as when login doesn't succeed.
It is recommended to use 403 errors for authorization / application logic:
I agree. We'll have to backtrack where these are generated. Odds are that they're loopback native..
Currently trying to obtain a sphere with an incorrect id, for example
id 0
leads to 401 errors:http://crownstone-cloud.herokuapp.com/explorer/#!/Sphere/Sphere_findById
This is exactly the same error as when login doesn't succeed.
It is recommended to use 403 errors for authorization / application logic: