# Jwt.io for login

**URL:** <https://forum.ionicframework.com/t/jwt-io-for-login/56911>\
**Category:** ionic-v1\
**Created:** [July 7, 2016, 9:01pm UTC](https://forum.ionicframework.com/t/jwt-io-for-login/56911 "2016-07-07T21:01:25Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![fillah](https://avatars.discourse-cdn.com/v4/letter/f/ebca7d/32.png) [@fillah](https://forum.ionicframework.com/u/fillah)\
**Post date:** [July 7, 2016, 9:01pm UTC](https://forum.ionicframework.com/t/jwt-io-for-login/56911/1 "2016-07-07T21:01:26Z")

</div>

Hey guys!

I’m creating a login system and wants to use [jwt.io](http://jwt.io) (JSON web token) to it. Any of you guys have any experience with it? I’m kinda lost with the login system.

Thanks in regards 🙂

---

<div class="post-metadata">

**Author:** ![DidelotK](https://avatars.discourse-cdn.com/v4/letter/d/8e7dd6/32.png) [@DidelotK](https://forum.ionicframework.com/u/DidelotK)\
**Post date:** [July 7, 2016, 9:47pm UTC](https://forum.ionicframework.com/t/jwt-io-for-login/56911/2 "2016-07-07T21:47:27Z")

</div>

Hi, this tuto helps me a lot in ionic2 to use jwt, i hope this can help you (server side is the same, but you have to adapt the front for ionic1) [https://www.youtube.com/watch?v=f1xRKjEdU5E](https://www.youtube.com/watch?v=f1xRKjEdU5E)

---

<div class="post-metadata">

**Author:** ![fillah](https://avatars.discourse-cdn.com/v4/letter/f/ebca7d/32.png) [@fillah](https://forum.ionicframework.com/u/fillah)\
**Post date:** [July 15, 2016, 5:22pm UTC](https://forum.ionicframework.com/t/jwt-io-for-login/56911/3 "2016-07-15T17:22:44Z")

</div>

For an ionic application, do you have to create the server.js file? Don’t you just build it around the controllers and services? 🙂

---

<div class="post-metadata">

**Author:** ![DidelotK](https://avatars.discourse-cdn.com/v4/letter/d/8e7dd6/32.png) [@DidelotK](https://forum.ionicframework.com/u/DidelotK)\
**Post date:** [July 16, 2016, 10:42am UTC](https://forum.ionicframework.com/t/jwt-io-for-login/56911/4 "2016-07-16T10:42:34Z")

</div>

An ionic application need a server so you need the server.js file. Except if want to build your app with firebase [https://www.firebase.com/docs/web/libraries/ionic/guide.html](https://www.firebase.com/docs/web/libraries/ionic/guide.html)
