Skip to content

anjumabbas5/openid-connect-userinfo

 
 

Repository files navigation

openid-connect-userinfo

Build Status Download

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:

  1. Authenticate.
  2. 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.

Running Locally

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'

License

This code is open source software licensed under the Apache 2.0 License

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Scala 99.9%
  • Shell 0.1%