add PKCE roundtrip to conformance test

Signed-off-by: Benjamin Ullian <bnu@tumblr.com>
This commit is contained in:
Benjamin Ullian 2021-01-04 22:49:12 -05:00
parent 62abddca7d
commit b45a501c99

View file

@ -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",