Skip to content

Samples for a Tahiti-devops meetup about Keycloak, Spring and Angular

Notifications You must be signed in to change notification settings

ch4mpy/openid-meetup

Repository files navigation

Support project for a Meetup about a sample OpenID "full" stack composed of:

  • Keycloak or Auth0 as authorization-server
  • Spring RESTfull API as resource-server
  • Ionic-Angular Web & Android app as client

Meetup slides are accessible from there for more background info.

Android app on Google Play

"Café Skifo" is submitted for aproval, but still waiting to be processed. Google states that it might take longer than usual because of COVID-19, so please be patient until first public test release is available.

Development environment setup

Prerequisites

Build & run

  • if you followed the step-by-step tutorial referenced above, Keycloak should be running already, as should a DNS resolving a [hostname] to your machine
  • cd api
  • copy src/main/resources/application-ch4mpy-bravo.properties to adapt SSL certificate and Keycloak host name
  • edit pom.xml to adapt <apiDocsUrl> to your machine host name
  • ./mvnw integration-test to generate OpenAPI JSON file describing public Spring API
  • cd ../angular-clients
  • npm i to install npm dependencies and generate a lib from OpenAPI JSON file generated two steps before
  • check you duplicated ch4mpy-bravo entries in angular.json to add equivalents for your SSL certificate
  • ionic cap sync
  • ionic capacitor run android -l --ssl --external --public-host=[hostanme]
  • if you want to test from an android device, check wifi settings are pointing to a DNS knowing your host name

About

Samples for a Tahiti-devops meetup about Keycloak, Spring and Angular

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published