Skip to content
This repository has been archived by the owner on Dec 22, 2023. It is now read-only.

alphagov/verify-test-rp

Repository files navigation

verify-test-rp

GOV.UK Verify has closed

This repository is out of date and has been archived

A stub relying party used when testing the GOV.UK Verify hub.

  • This service is only for internal testing and is not representative of how a service should connect to Verify. For an authorative implementation of how a service can connect to Verify please see the Technical Onboarding Guide and the Verify Service Provider.

Tokens

Test RP can use JWT to control access if the privateBetaUserAccessRestrictionEnabled flag is set to true. The following request can be used to generate a token value.

POST /private/generate-token HTTP/1.1
Content-Type: application/json; charset=utf-8
{
    "validUntil":"2019-01-03T10:00:54.118Z",
    "issueTo":"http://stub_idp.acme.org/stub-idp-one/SSO/POST"
}

The following response contains a token value.

{
  "tokenValue": "eyJhbGciOiJSUzI1NiJ9..."
}

Issues and responsible disclosure

If you think you have discovered a security issue in this code please email disclosure@digital.cabinet-office.gov.uk with details.

For non-security related bugs and feature requests please raise an issue in the GitHub issue tracker.

Code of Conduct

This project is developed under the Alphagov Code of Conduct

Licence

LICENCE