Skip to content

Commit

Permalink
fix: create default openid client scope (#43)
Browse files Browse the repository at this point in the history
* create default openid client scope

* make default openid scope opt in

* add test realm scope

---------

Co-authored-by: Rob Ferguson <rjferguson21@gmail.com>
  • Loading branch information
UnicornChance and rjferguson21 authored Apr 16, 2024
1 parent ed91427 commit c604d15
Show file tree
Hide file tree
Showing 2 changed files with 26 additions and 0 deletions.
13 changes: 13 additions & 0 deletions src/realm.json
Original file line number Diff line number Diff line change
Expand Up @@ -1340,6 +1340,16 @@
}
}
]
},
{
"id": "52fa0872-8912-4096-a124-da2c077b5539",
"name": "openid",
"description": "OpenID Connect built-in scope: openid",
"protocol": "openid-connect",
"attributes": {
"include.in.token.scope": "true",
"display.on.consent.screen": "true"
}
}
],
"defaultDefaultClientScopes": [
Expand Down Expand Up @@ -1458,6 +1468,9 @@
"config": {
"allow-default-scopes": [
"true"
],
"allowed-client-scopes": [
"openid"
]
}
},
Expand Down
13 changes: 13 additions & 0 deletions src/test/cypress/realm.json
Original file line number Diff line number Diff line change
Expand Up @@ -1358,6 +1358,16 @@
}
}
]
},
{
"id": "52fa0872-8912-4096-a124-da2c077b5539",
"name": "openid",
"description": "OpenID Connect built-in scope: openid",
"protocol": "openid-connect",
"attributes": {
"include.in.token.scope": "true",
"display.on.consent.screen": "true"
}
}
],
"defaultDefaultClientScopes": [
Expand Down Expand Up @@ -1476,6 +1486,9 @@
"config": {
"allow-default-scopes": [
"true"
],
"allowed-client-scopes": [
"openid"
]
}
},
Expand Down

0 comments on commit c604d15

Please sign in to comment.