Skip to content

Commit

Permalink
update fosite dependency
Browse files Browse the repository at this point in the history
  • Loading branch information
narg95 committed May 11, 2021
1 parent 92100e9 commit 2247c0c
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 6 deletions.
1 change: 0 additions & 1 deletion consent/strategy_default.go
Original file line number Diff line number Diff line change
Expand Up @@ -190,7 +190,6 @@ func (s *DefaultStrategy) getIDTokenHintClaims(ctx context.Context, idTokenHint
} else if err != nil {
return nil, errorsx.WithStack(fosite.ErrInvalidRequest.WithHint(err.Error()))
}

return token.Claims, nil
}

Expand Down
2 changes: 1 addition & 1 deletion consent/strategy_logout_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -258,7 +258,7 @@ func TestLogoutFlows(t *testing.T) {
acceptLoginAs(t, "aeneas-rekkas")
checkAndAcceptLogout(t, nil, nil)

expectedMessage := "token contains an invalid number of segments"
expectedMessage := "compact JWS format must have three parts"
browser := createBrowserWithSession(t, createSampleClient(t))
values := url.Values{"state": {"1234"}, "post_logout_redirect_uri": {customPostLogoutURL}, "id_token_hint": {"i am not valid"}}
t.Run("method=get", testExpectErrorPage(browser, http.MethodGet, values, expectedMessage))
Expand Down
3 changes: 1 addition & 2 deletions go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -14,13 +14,12 @@ replace github.com/dgrijalva/jwt-go => github.com/form3tech-oss/jwt-go v3.2.1+in

replace github.com/gogo/protobuf => github.com/gogo/protobuf v1.3.2

replace github.com/ory/fosite => github.com/narg95/fosite v0.36.1-0.20210507190643-4f09eb743b32
replace github.com/ory/fosite => github.com/narg95/fosite v0.36.1-0.20210511145734-ca2ed200ed3d

require (
github.com/DataDog/datadog-go v4.6.0+incompatible // indirect
github.com/cenkalti/backoff/v3 v3.0.0
github.com/containerd/containerd v1.4.4 // indirect
github.com/dgrijalva/jwt-go v3.2.0+incompatible // indirect
github.com/evanphx/json-patch v0.5.2
github.com/go-bindata/go-bindata v3.1.1+incompatible
github.com/go-openapi/errors v0.20.0
Expand Down
4 changes: 2 additions & 2 deletions go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -1082,8 +1082,8 @@ github.com/morikuni/aec v1.0.0 h1:nP9CBfwrvYnBRgY6qfDQkygYDmYwOilePFkwzv4dU8A=
github.com/morikuni/aec v1.0.0/go.mod h1:BbKIizmSmc5MMPqRYbxO4ZU0S0+P200+tUnFx7PXmsc=
github.com/mwitkow/go-conntrack v0.0.0-20161129095857-cc309e4a2223/go.mod h1:qRWi+5nqEBWmkhHvq77mSJWrCKwh8bxhgT7d/eI7P4U=
github.com/mwitkow/go-conntrack v0.0.0-20190716064945-2f068394615f/go.mod h1:qRWi+5nqEBWmkhHvq77mSJWrCKwh8bxhgT7d/eI7P4U=
github.com/narg95/fosite v0.36.1-0.20210507190643-4f09eb743b32 h1:btuaroBCyfSO2Fprawe2MSb2MG/l61P8Tfu9/HtLL8g=
github.com/narg95/fosite v0.36.1-0.20210507190643-4f09eb743b32/go.mod h1:KbDZzqSDLaOLDN2haRIsBQHUhl8MQp66cYMqCpO/8Mg=
github.com/narg95/fosite v0.36.1-0.20210511145734-ca2ed200ed3d h1:+6I5l2mE8fUzMkoA+mlSv53+d3yBi7vb3dHMbcBUHKI=
github.com/narg95/fosite v0.36.1-0.20210511145734-ca2ed200ed3d/go.mod h1:KbDZzqSDLaOLDN2haRIsBQHUhl8MQp66cYMqCpO/8Mg=
github.com/nats-io/jwt v0.3.0/go.mod h1:fRYCDE99xlTsqUzISS1Bi75UBJ6ljOJQOAAu5VglpSg=
github.com/nats-io/jwt v0.3.2/go.mod h1:/euKqTS1ZD+zzjYrY7pseZrTtWQSjujC7xjPc8wL6eU=
github.com/nats-io/nats-server/v2 v2.1.2/go.mod h1:Afk+wRZqkMQs/p45uXdrVLuab3gwv3Z8C4HTBu8GD/k=
Expand Down

0 comments on commit 2247c0c

Please sign in to comment.