This Beta REST API aims to provide a specification compliant OpenID Connect implementation. It allows consumers to access user details with consent and in the OpenID Connect UserInfo format.
A typical workflow would be:
- Authenticate.
- Access a user-info resource via GET or POST request
All end points are User Restricted (see authorisation). Versioning follows the API Platform standards (see the reference guide). User details data structures follow the OpenId Connect UserInfo specification (see the specification)
You can dive deeper into the documentation in the API Developer Hub.
Install Service Manager, if you want live endpoints, then start dependencies:
sm --start AUTH -f
sm --start DATASTREAM -f
Start the app:
sbt run -Drun.mode=Dev
Now you can test sandbox:
curl -v http://localhost:9000/sandbox/userinfo -H 'Accept: application/vnd.hmrc.1.0+json'
This code is open source software licensed under the Apache 2.0 License