Installation
As a first step we will focus on starting Onegini IDP server.
What you need?
- text editor
- docker compose 1.8.0+
- docker engine 1.12.6+
- access to Onegini docker hub
Testing the environment
To be sure that your environment is configured properly please follow further steps:
check docker version
$ docker -v Docker version 1.12.6, build 78d1802
check docker-compose version
$ docker-compose -v docker-compose version 1.8.0, build unknown
check access to Onegini docker hub (you should be informed with
Login Succeeded
)$ docker login release.onegini.com Username: user Password: Login Succeeded
Start the application
Onegini IDP is deployed as docker container. To simplify configuration we've created docker compose files that you can get from the Onegini support. Please unzip it on your environment, for this guide we'll use ~/idp
directory. You can unzip it with unzip
command.
$ unzip ~/Downloads/idp-docker-files.zip -d ~/idp
Provided zip package contains scripts that make starting the application for the first time easy. To do it with basic configuration please execute following commands:
$ cd ~/idp/common/
$ python ./start-dockers.py -v release
The command start-dockers.py
starts Onegini IDP server along with integration containers like Active Directory, Service Provider, etc. Please note that the start scripts have to be run simultaneously.
Containers need some time to start so please wait few minutes and after that test the application by entering below links:
- http://idp-core.dev.onegini.me:8080 - Onegini IDP login page
- http://idp-core.dev.onegini.me:8081 - Onegini IDP without credentials will return
403 Forbidden
on success - http://idp-core.dev.onegini.me:8082/admin - Onegini IDP admin panel
- http://s4-1.dev.onegini.me:8880 - example service provider