Skip to content

Commit

Permalink
GG-7031 modified security scopes to match the old raml file
Browse files Browse the repository at this point in the history
  • Loading branch information
jinbal-hmrc committed May 23, 2023
1 parent 2ed5b60 commit 705db4a
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 705db4a

Please sign in to comment.