All Projects → tomjackman → keyonic-v2

tomjackman / keyonic-v2

Licence: other
A Keycloak Mobile Implementation using Angular v4 and Ionic v3

Programming Languages

typescript
32286 projects
HTML
75241 projects
CSS
56736 projects
javascript
184084 projects - #8 most used programming language

Projects that are alternatives of or similar to keyonic-v2

ionic-hockeyapp
Need HockeyApp in your Ionic application, add this package!
Stars: ✭ 19 (-17.39%)
Mutual labels:  cordova, ionic, ionic-framework, 3
ionic-native-sms-retriever-plugin-master
Cross-platform plugin for Cordova / PhoneGap to Retrieve SMS. Available for Android.
Stars: ✭ 16 (-30.43%)
Mutual labels:  cordova, ionic, ionic-framework
ionic4-angular6-crud-example
Building CRUD Mobile App using Ionic 4, Angular 6 and Cordova
Stars: ✭ 50 (+117.39%)
Mutual labels:  cordova, ionic, ionic-framework
Awesome Ionic
An "awesome" list of Ionic resources
Stars: ✭ 799 (+3373.91%)
Mutual labels:  cordova, ionic, ionic-framework
todo-list
TodoList using Ionic2/3 & Firebase: * PWA * SSO Google plus. * Share list via QRcode. * Upload image from Camera or Storage. * Speech Recognition.
Stars: ✭ 18 (-21.74%)
Mutual labels:  cordova, ionic, ionic-framework
ionic-3-video-calling-using-webrtc
This is demo code of how to implement video calling in ionic 3 using webrtc
Stars: ✭ 58 (+152.17%)
Mutual labels:  cordova, ionic, ionic-framework
Ionic Native
Native features for mobile apps built with Cordova/PhoneGap and open web technologies. Complete with TypeScript support.
Stars: ✭ 2,129 (+9156.52%)
Mutual labels:  cordova, ionic, ionic-framework
Ionic4
This repo contains example code for ionic4. Get Step by Step tutorial of this repo examples using https://ampersandacademy.com/tutorials/ionic-framework-4
Stars: ✭ 37 (+60.87%)
Mutual labels:  cordova, ionic, ionic-framework
Ionic Collection
🤘 Looking for about Ionic Framework?
Stars: ✭ 101 (+339.13%)
Mutual labels:  cordova, ionic, ionic-framework
Ionic Typescript Starter
📱 Platform and IDE agnostic starter project for building mobile apps with Ionic and TypeScript.
Stars: ✭ 124 (+439.13%)
Mutual labels:  cordova, ionic, ionic-framework
Wooionic3
An eCommerce App for WooCommerce stores using Ionic 3.
Stars: ✭ 208 (+804.35%)
Mutual labels:  cordova, ionic, ionic-framework
ionic4-angular7-example
Ionic 4, Angular 7 and Cordova Tutorial: Build CRUD Mobile Apps
Stars: ✭ 57 (+147.83%)
Mutual labels:  cordova, ionic, ionic-framework
secure-oauth2-oidc-workshop
Hands-On Workshop for OAuth 2.0 and OpenID Connect 1.0
Stars: ✭ 58 (+152.17%)
Mutual labels:  keycloak, authorization, openid-connect
v-cupertino
A Vue 3 Wrapper for Cupertino Pane Library
Stars: ✭ 17 (-26.09%)
Mutual labels:  cordova, ionic
talks
Let's talk about ..
Stars: ✭ 13 (-43.48%)
Mutual labels:  ionic, ionic-framework
bitpocket-mobile-app
Mobile app for accepting bitcoin payments at the point of sale (Bitcoin POS).
Stars: ✭ 26 (+13.04%)
Mutual labels:  cordova, ionic
travis-ci-ionic-yml
An example configuration of Ionic/cordova + NPM + AngularJS + Android continuous integration setup on Travis CI
Stars: ✭ 21 (-8.7%)
Mutual labels:  cordova, ionic
ionic4-ngrx-firebase
A basic application for Ionic 4 with firebase & ngrx actions, reducers and effects
Stars: ✭ 17 (-26.09%)
Mutual labels:  ionic, ionic-framework
Mobile.UP
Mobile.UP
Stars: ✭ 13 (-43.48%)
Mutual labels:  cordova, ionic
ionic-uber-clone
Ionic 4 Taxi Booking script
Stars: ✭ 34 (+47.83%)
Mutual labels:  ionic, ionic-framework

Keyonic-V2

A Keycloak Mobile Implementation using Angular v4 and Ionic v3.

Version 2 Enhancements

  • Implementation with Angular 4/Typescript/Ionic 3
  • ViewGuard - View level access is protected based on a Role
  • More Keycloak functions used and information served

Requirements

  • Apache Cordova
  • Node 6 LTS
  • Ionic 3
  • Keycloak Server

Install Cordova & Ionic

  • npm install -g ionic cordova

Use Node 6

  • nvm use 6.9

Installation

Run ionic serve --address localhost to start the application.

Note: You must first have the Keycloak Server running with a configured Realm and Users:

You can import the keyonic-v2 Realm (keyonic-v2-realm.json) and Users (keyonic-v2-users.json) JSON files here to populate Keycloak with the correct configuration.

  • Under the Realms section in Keycloak, add a new Realm with the Import option.
  • Import the keyonic-v2-realm.json file.
  • Once complete, visit the newly created realm and click the 'Import' button at the bottom left of the sidebar. You will import the users here. Choose the keyonic-v2-users.json file.

Note: You must first have a running Keycloak instance running as the Keycloak JS Adapter in the mobile app is being fetched from the Keycloak server itself, rather than via npm.

In this sample application, Keycloak is expected to be already running off localhost:8080. This can be changed however in src/index.html under <script src="http://localhost:8080/auth/js/keycloak.js"></script>

Ensure that you have the Web Origin configured in Keycloak. eg * or other. (This should be done when you import the realm)

Also ensure that the redirectUri for the client is pointing to where the ionic dev server is running. eg. http://localhost:8100/* (Only if your ionic app is running on a different URL)

Usage

User Credentials:

  • keypress-admin/admin

  • areader/123

  • apublisher/123

Bearer Example

For an example using bearer tokens for accessing a REST API, checkout the bearer_example branch here and in Keypress#bearer_example

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].