File tree Expand file tree Collapse file tree 2 files changed +7
-1
lines changed
src/main/kotlin/no/nav/security/mock/oauth2/http Expand file tree Collapse file tree 2 files changed +7
-1
lines changed Original file line number Diff line number Diff line change @@ -109,7 +109,11 @@ A request to `http://localhost:8080/default/.well-known/openid-configuration` wi
109
109
" PS256" ,
110
110
" PS384" ,
111
111
" PS512"
112
- ]
112
+ ],
113
+ "code_challenge_methods_supported" :[
114
+ " plain" ,
115
+ " S256"
116
+ ]
113
117
}
114
118
```
115
119
Original file line number Diff line number Diff line change @@ -42,6 +42,8 @@ data class WellKnown(
42
42
val subjectTypesSupported : List <String > = listOf("public"),
43
43
@JsonProperty(" id_token_signing_alg_values_supported" )
44
44
val idTokenSigningAlgValuesSupported : List <String > = (KeyGenerator .ecAlgorithmFamily + KeyGenerator .rsaAlgorithmFamily).map { it.name }.toList(),
45
+ @JsonProperty(" code_challenge_methods_supported" )
46
+ val codeChallengeMethodsSupported : List <String > = listOf("plain", "S256 "),
45
47
)
46
48
47
49
@JsonInclude(JsonInclude .Include .NON_NULL )
You can’t perform that action at this time.
0 commit comments