Skip to content

vladdou/oidctest

 
 

Repository files navigation

Build Status

OIDC test tool

OIDCtest is a set of tools for testing OIDC implementations.

The OpenID Foundation (OIDF) provides an OpenID Connect self-certification service on top of this suite, see: http://openid.net/certification/

Docker

Whilst official self-certification happens at the service provided by the OIDF you can locally spin up the same services to test your OpenID Connect implementation using Docker as described below.

docker-compose -f docker/docker-compose.yml up

that will run the OP and RP test suite and an actual OP in a docker-compose setting. Then add the following entries to your /etc/hosts file:

127.0.0.1 op_test op rp_test

You can then access https://op_test:60000 for OP testing in the same way as you'd go to https://op.certification.openid.net:60000

Alternatively you can use https://rp_test:8080 for RP testing in the same way as you'd use https://rp.certification.openid.net:8080 i.e. by pointing your RP Client to the issuer https://rp_test:8080/<rp_id> using Dynamic Client Registration.

Travis CI

For integration into continuous integration builds of your OpenID Connect RP or OP software you can apply the same Docker scripts and e.g. use something like the following in your Travis CI .travis.yml:

sudo: required
  
services:
  - docker

addons:
  hosts:
    - op_test
    - rp_test
    - op

before_install:
  - git clone https://github.com/openid-certification/oidctest.git
  - cd oidctest
  - git checkout stable-release-1.1.x
  - docker-compose -f docker/docker-compose.yml up -d
  - cd -

script:
  - <test commands that point your software to https://op_test:6000 or https://rp_test:8080/<rp_id>>

About

Test framework for testing OpenID Connect entities

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Python 94.9%
  • HTML 4.7%
  • Other 0.4%