auth0/oidctest

Name: oidctest

Owner: Auth0

Description: Test framework for testing OpenID Connect entities

Created: 2018-05-16 17:24:53.0

Updated: 2018-05-16 17:24:56.0

Pushed: 2018-05-16 17:26:37.0

Homepage: null

Size: 5264

Language: Python

GitHub Committers

UserMost Recent Commit# Commits

Other Committers

UserEmailMost Recent Commit# Commits

README

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.

er-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:

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:

: required

ices:
docker

ns:
sts:
- op_test
- rp_test
- op

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

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

This work is supported by the National Institutes of Health's National Center for Advancing Translational Sciences, Grant Number U24TR002306. This work is solely the responsibility of the creators and does not necessarily represent the official views of the National Institutes of Health.