Skip to content

Commit

Permalink
Merge pull request #90 from hmrc/GG-7031-fixes
Browse files Browse the repository at this point in the history
GG-7031 modified security scopes to match the old raml file
  • Loading branch information
ShaneTN authored May 23, 2023
2 parents 2ed5b60 + 705db4a commit 52d95d3
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 28 deletions.
16 changes: 2 additions & 14 deletions public/api/conf/1.0/application.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,13 +18,7 @@ servers:
variables: {}
security:
- userRestricted:
- "profile"
- "address"
- "email"
- "openid:hmrc-enrolments"
- "openid:government-gateway"
- "openid:mdtp"
- "openid:gov-uk-identifiers"
- "openid"
paths:
/userinfo/:
get:
Expand Down Expand Up @@ -330,13 +324,7 @@ components:
tokenUrl: https://api.service.hmrc.gov.uk/oauth/token
refreshUrl: https://api.service.hmrc.gov.uk/oauth/refresh
scopes:
"profile": given_name, middle_name, family_name
"address": address
"email": email
"openid:hmrc-enrolments": hmrc_enrolments
"openid:government-gateway": government_gateway
"openid:mdtp": mdtp
"openid:gov-uk-identifiers": uk_gov_nino
"openid": openid
tags:
- name: userinfo
description: ''
16 changes: 2 additions & 14 deletions public/api/conf/1.1/application.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,13 +18,7 @@ servers:
variables: {}
security:
- userRestricted:
- "profile"
- "address"
- "email"
- "openid:hmrc-enrolments"
- "openid:government-gateway"
- "openid:mdtp"
- "openid:gov-uk-identifiers"
- "openid"
paths:
/userinfo/:
get:
Expand Down Expand Up @@ -339,13 +333,7 @@ components:
tokenUrl: https://api.service.hmrc.gov.uk/oauth/token
refreshUrl: https://api.service.hmrc.gov.uk/oauth/refresh
scopes:
"profile": given_name, middle_name, family_name
"address": address
"email": email
"openid:hmrc-enrolments": hmrc_enrolments
"openid:government-gateway": government_gateway
"openid:mdtp": mdtp
"openid:gov-uk-identifiers": uk_gov_nino
"openid": openid
tags:
- name: userinfo
description: ''

0 comments on commit 52d95d3

Please sign in to comment.