Sharing Top Content from the Angular-sphere.

Here is a @keycloak Hybrid Mobile Template for @Ionicframework V3 and @angular V4 … #security #opensource

  • Note: You must first have the Keycloak Server running with a configured Realm and Users: – – You can import the keyonic-v2 Realm ( ) and Users ( ) JSON files here to populate Keycloak with the correct configuration.
  • 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 .
  • This can be changed however in under – – Ensure that you have the Web Origin configured in Keycloak.
  • (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.

keyonic-v2 – A Keycloak Mobile Implementation using Angular v4 and Ionic v3

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

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

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 . This can be changed however in under

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. (Only if your ionic app is running on a different URL)

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

GitHub

Comments are closed, but trackbacks and pingbacks are open.