Skip to content

Commit

Permalink
Fix JWT refresh panic. Fixes #2460
Browse files Browse the repository at this point in the history
  • Loading branch information
plorenz committed Oct 1, 2024
1 parent edcb40e commit b8294a9
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 0 deletions.
11 changes: 11 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,14 @@
# Release 1.1.15

## What's New

* Panic fix related to controller HA

## Component Updates and Bug Fixes

* github.com/openziti/ziti: [v1.1.14 -> v1.1.15](https://github.com/openziti/ziti/compare/v1.1.14...v1.1.15)
* [Issue #2460](https://github.com/openziti/ziti/issues/2460) - Panic on JWT token refresh

# Release 1.1.14

## What's New
Expand Down
3 changes: 3 additions & 0 deletions controller/oidc_auth/storage.go
Original file line number Diff line number Diff line change
Expand Up @@ -601,6 +601,9 @@ func (s *HybridStorage) parseAccessToken(tokenStr string) (*jwt.Token, *common.A
// TokenRequestByRefreshToken implements the op.Storage interface
func (s *HybridStorage) TokenRequestByRefreshToken(_ context.Context, refreshToken string) (op.RefreshTokenRequest, error) {
_, token, err := s.parseRefreshToken(refreshToken)
if err != nil {
return nil, err
}
return &RefreshTokenRequest{*token}, err
}

Expand Down

0 comments on commit b8294a9

Please sign in to comment.