I am trying to build a fairly standard Ionic 2 app that uses JWT with my own backend Json API.
Does anyone know where to find a complete example of how this code would look in the latest Ionic 2. I found the angular2-jwt plugin, but their code didn’t work in Ionic 2 RC0, and while I have found bits and pieces of answers on other threads, I am not experienced enough to piece everything together on my own.
Basically, the site just needs to have a login page, a restricted area (that you have to be logged in to access), and store the JWT and user data in storage of some sort. I would imagine that this is pretty standard functionality for an Ionic app so I hope that someone can help me with the code samples and actual file names of where to put the code.
Thanks in advance!