Skip to content

Commit

Permalink
Task 51 : Revise AbstractRestControllerTest ın product service
Browse files Browse the repository at this point in the history
  • Loading branch information
Rapter1990 committed Jul 19, 2024
1 parent 5aac581 commit e5a0575
Showing 1 changed file with 0 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,6 @@ private Token generate(Map<String, Object> claims) {
.add(TokenClaims.TYP.getValue(), OAuth2AccessToken.TokenType.BEARER.getValue())
.and()
.id(UUID.randomUUID().toString())
.issuer(tokenConfiguration.getIssuer())
.issuedAt(tokenIssuedAt)
.expiration(accessTokenExpiresAt)
.signWith(tokenConfiguration.getPrivateKey())
Expand All @@ -76,7 +75,6 @@ private Token generate(Map<String, Object> claims) {
.add(TokenClaims.TYP.getValue(), OAuth2AccessToken.TokenType.BEARER.getValue())
.and()
.id(UUID.randomUUID().toString())
.issuer(tokenConfiguration.getIssuer())
.issuedAt(tokenIssuedAt)
.expiration(refreshTokenExpiresAt)
.signWith(tokenConfiguration.getPrivateKey())
Expand Down

0 comments on commit e5a0575

Please sign in to comment.