Skip to content

An example of client side implementation of JWT (JSON web token) authentication using Ionic2

License

Notifications You must be signed in to change notification settings

letsila/ionic2-jwt-auth-example

Repository files navigation

Ionic2 jwt example

This repository contains example of a client side implementation of JWT authentication using Ionic2. The server side code related to this project can be found here

Login page

The login page contains just a login and password inputs.

Once the user have provided valid credentials, a token will be issued by the server and saved under localstorage on our ionic app. Then the user is redirected to the home page.

Home page

From the home page, the user can request restricted data (which is going to send a GET request with authorization header to the server) or logout.

About

An example of client side implementation of JWT (JSON web token) authentication using Ionic2

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published