Skip to content
This repository has been archived by the owner on Jul 4, 2020. It is now read-only.

sample_client

jtodea edited this page Jul 12, 2013 · 4 revisions

Installing

In order to build and use the example-client you have to meet some requirements:

  • Python 2.7,
  • flask,
  • requests,
  • nose,
  • mock

Starting

Before you can start the demo server, you need to install the python-connector.

When you have installed the osiam-connector you can start the demo server with:

python client-server.py

There are some additional arguments for that script:

  • -r, --redirect = A OSIAM known redirect uri for the client.
  • -o, --osiam =The uri to OSIAM server.
  • -c, --client = The name of the client.
    • default = example-client
  • -s, --client-secret = The secret of the client.
    • default = secret

Using

Open a browser and go to

http://localhost:5000
Clone this wiki locally