I have basic Ionic 2 Auth set up and working; users can sign up and login and they stay logged in.
I am using a custom MongoDB for most of my app’s content. I would like only users who are authenticated to be able to make calls to my custom API. Thusly, I’m thinking sending the token (using user.getToken()) to the API will be the best bet.
How do I check if a token is valid for Ionic on a custom node/express server?
Thank you, I was starting to get that impression too. Is it possible to use with basic Ionic auth? Rather, what I need to know is can I just pass the token from client -> server and do some sort of magic IonicCloud JWT verification that it’s legit?