Difference between revisions of "User authentication - ACTIVAGE"

From CommonsLab
Jump to: navigation, search
(Keycloak)
(Keycloak)
Line 21: Line 21:
 
* Set up [https://www.keycloak.org/docs/latest/server_installation/index.html#setting-up-https-ssl SSL]
 
* Set up [https://www.keycloak.org/docs/latest/server_installation/index.html#setting-up-https-ssl SSL]
 
* Setup [http://flask.pocoo.org/ flask] and python [https://gist.github.com/thomasdarimont/145dc9aa857b831ff2eff221b79d179a app sample]
 
* Setup [http://flask.pocoo.org/ flask] and python [https://gist.github.com/thomasdarimont/145dc9aa857b831ff2eff221b79d179a app sample]
 +
* Install [https://pypi.org/project/flask-oidc/ flask_oidc]
 
===Configure keycloak===
 
===Configure keycloak===
 
* Create new realm "UAH"
 
* Create new realm "UAH"

Revision as of 16:28, 26 June 2019

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