diff --git a/app/uk/gov/hmrc/openidconnect/userinfo/views/definition.scala.txt b/app/uk/gov/hmrc/openidconnect/userinfo/views/definition.scala.txt index ec81633..76c2dd9 100644 --- a/app/uk/gov/hmrc/openidconnect/userinfo/views/definition.scala.txt +++ b/app/uk/gov/hmrc/openidconnect/userinfo/views/definition.scala.txt @@ -27,6 +27,12 @@ "name":"Access your tax identifiers", "description":"Access your tax identifiers", "confidenceLevel": 200 + }, + { + "key":"openid:hmrc_enrolments", + "name":"Access your enrolments", + "description":"Access your enrolments", + "confidenceLevel": 200 } ], "api":{ diff --git a/public/api/conf/1.0/examples/get-user-info-example-1.json b/public/api/conf/1.0/examples/get-user-info-example-1.json index 6a216cf..b1a7a19 100644 --- a/public/api/conf/1.0/examples/get-user-info-example-1.json +++ b/public/api/conf/1.0/examples/get-user-info-example-1.json @@ -8,5 +8,17 @@ "country" : "Great Britain" }, "birthdate" : "1950-01-01", - "uk_gov_nino" : "AA000003D" + "uk_gov_nino" : "AA000003D", + "hmrc_enrolments": [ + { + "key": "IR-SA", + "identifiers": [ + { + "key": "UTR", + "value": "174371121" + } + ], + "state": "Activated" + } + ] }