Is there an out of the box way to do a client-side authentication check using the standard Loopback authentication/user model? I don't want to rely on the client side checks alone, but for something as simple as showing a "logout" button when a user is logged in it would be useful to check this on the client side.
I'm really looking to modify the DOM in Angular based on the response of an isAuthenticated function or something similar.
Thanks for any help.
There is actually an isAuthenticated function in the Loopback Angular SDK. Referenced here: https://github.com/strongloop/loopback-sdk-angular/blob/fb161b7eaa02df877fe894daa54e4bd0fa4e041e/CHANGES.md
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With