Skip to content

Commit

Permalink
ci: pin hydra version
Browse files Browse the repository at this point in the history
  • Loading branch information
aeneasr committed Dec 11, 2024
1 parent b57570a commit 57cf545
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/oidc-conformity.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ jobs:
with:
fetch-depth: 2
repository: ory/hydra
ref: 2866a0499d02341ed0603601cfe4e63b24506fcb
ref: a35e78e364a26c4f87f37d9f545ef10b3ffa468a
- uses: actions/setup-go@v2
with:
go-version: "1.21"
Expand Down
2 changes: 1 addition & 1 deletion handler/oauth2/flow_refresh.go
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ func (c *RefreshTokenGrantHandler) HandleTokenEndpointRequest(ctx context.Contex
WithHint("The refresh token is malformed or not valid.").
WithDebug("The refresh token can not be found.")
} else if err != nil {
return fosite.ErrInvalidGrant.WithWrap(err).WithDebug(err.Error())
return fosite.ErrServerError.WithWrap(err).WithDebug(err.Error())
}

if err := c.RefreshTokenStrategy.ValidateRefreshToken(ctx, originalRequest, refresh); err != nil {
Expand Down

0 comments on commit 57cf545

Please sign in to comment.