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.
Run the service sbt run -Drun.mode=Dev
Run the tests & test coverage report sbt clean compile coverage test it:test coverageReport
Run the service in service manager; if you want live endpoints, then start dependencies thus: sm2 --start AUTH DATASTREAM -r
Now you can test the 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