User authentication - ACTIVAGE

From CommonsLab
Jump to: navigation, search

Setup=

  • Set up Raspberry Pi with latest Raspbian

Gravitee

Keycloak

  • Install mysql
  • Download and unzip keycloak server
  • Download JDBC connector
  • Configure classpath
  • Add "JAVA_OPTS="$JAVA_OPTS -XX:+CreateMinidumpOnCrash"" to standalone.conf to fix failed core dumps of JVM
  • Set up SSL
  • Setup flask and python app sample
  • Install flask_oidc

Configure keycloak

  • Create new realm "UAH"
  • Create new client "raspberrypi"
  • Add user federation with LDAP

Setup test