Example of using Ionic V2 framework with OAuth 2 through a custom authentication service and Kong as an API Gateway.
First off, make sure you have the latest version of Node and NPM installed.
- Clone the repo $ git clone git@github.com:{{user}}/ldapa-oauth.git
- Navigate into directory.
- Install all node_modules via npm: $ npm install
- Make sure you have Ionic v2 globally installed $ npm install -g ionic@beta
- Start watching and building the client $ ionic serve
- Change the callback URL in callback.html
- Change API url in
auth.model.ts
to wherever your API is located