Skip to content

Commit dc2c33f

Browse files
GGabrielerainest
authored andcommitted
fix: make Oauth2Credential's redirect_uris field not required
1 parent 0b02a8e commit dc2c33f

File tree

3 files changed

+13
-2
lines changed

3 files changed

+13
-2
lines changed

CHANGELOG.md

+12
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
# Table of Contents
22

3+
- [v1.13.0](#v1130)
34
- [v1.12.1](#v1121)
45
- [v1.12.0](#v1120)
56
- [v1.11.0](#v1110)
@@ -38,6 +39,16 @@
3839
- [v0.2.0](#v020)
3940
- [v0.1.0](#v010)
4041

42+
## [v1.13.0]
43+
44+
> Release date: unreleased/TBD
45+
46+
### Fixes
47+
48+
- Make Oauth2Credential's `redirect_uris` field not required as it's been so
49+
since Kong `1.4.0`.
50+
[#688](https://github.com/Kong/deck/pull/688)
51+
4152
## [v1.12.1]
4253

4354
> Release date: 2022/05/13
@@ -934,6 +945,7 @@ No breaking changes have been introduced in this release.
934945

935946
Debut release of decK
936947

948+
[v1.13.0]: https://github.com/kong/deck/compare/v1.12.1...v1.13.0
937949
[v1.12.1]: https://github.com/kong/deck/compare/v1.12.0...v1.12.1
938950
[v1.12.0]: https://github.com/kong/deck/compare/v1.11.0...v1.12.0
939951
[v1.11.0]: https://github.com/kong/deck/compare/v1.10.0...v1.11.0

file/codegen/main.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@ func main() {
8484
schema.Definitions["KeyAuth"].Required = []string{"key"}
8585
schema.Definitions["Oauth2Credential"].Required = []string{
8686
"name",
87-
"client_id", "redirect_uris", "client_secret",
87+
"client_id", "client_secret",
8888
}
8989
schema.Definitions["MTLSAuth"].Required = []string{"id", "subject_name"}
9090

file/kong_json_schema.json

-1
Original file line numberDiff line numberDiff line change
@@ -1171,7 +1171,6 @@
11711171
"required": [
11721172
"name",
11731173
"client_id",
1174-
"redirect_uris",
11751174
"client_secret"
11761175
],
11771176
"properties": {

0 commit comments

Comments
 (0)