add PKCE roundtrip to conformance test
Signed-off-by: Benjamin Ullian <bnu@tumblr.com>
This commit is contained in:
parent
62abddca7d
commit
b45a501c99
1 changed files with 4 additions and 0 deletions
|
@ -185,6 +185,10 @@ func testAuthCodeCRUD(t *testing.T, s storage.Storage) {
|
||||||
Expiry: neverExpire,
|
Expiry: neverExpire,
|
||||||
ConnectorID: "ldap",
|
ConnectorID: "ldap",
|
||||||
ConnectorData: []byte(`{"some":"data"}`),
|
ConnectorData: []byte(`{"some":"data"}`),
|
||||||
|
PKCE: storage.PKCE{
|
||||||
|
CodeChallenge: "12345",
|
||||||
|
CodeChallengeMethod: "Whatever",
|
||||||
|
},
|
||||||
Claims: storage.Claims{
|
Claims: storage.Claims{
|
||||||
UserID: "1",
|
UserID: "1",
|
||||||
Username: "jane",
|
Username: "jane",
|
||||||
|
|
Reference in a new issue