Skip to content

2.1.0

Compare
Choose a tag to compare
@johnandersen777 johnandersen777 released this 28 Dec 20:29
· 1 commit to master since this release

OIDC Server

Example relying-party: https://scitt-community.github.io/scitt-api-emulator/oidc.html

Start server httptest-oidc

$ python -m httptest.oidc \
    --issuer https://this-service.example.com \
    --audience https://relying-party.example.com \
    --addr 0.0.0.0 \
    --port 8000 \
    --subject test-subject \
    --private-key-pem-path private-key.pem \
    --token-path token.jwt

Make requests

$ curl -H "Authorization: Bearer $(curl https://this-service.example.com/token | jq -r token)" -v https://relying-party.example.com
$ curl -H "Authorization: Bearer $(cat token.jwt)" -v https://relying-party.example.com