Skip to content

Commit

Permalink
Issue grails#437 - Call storeToken for new access token on refresh
Browse files Browse the repository at this point in the history
  • Loading branch information
longwa committed Apr 8, 2020
1 parent d2d258a commit ff1a476
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -136,6 +136,7 @@ class RestOauthController {
AccessToken accessToken = tokenGenerator.generateAccessToken(principal, false)
accessToken.refreshToken = refreshToken

tokenStorageService.storeToken(accessToken)
authenticationEventPublisher.publishTokenCreation(accessToken)

response.addHeader 'Cache-Control', 'no-store'
Expand Down

0 comments on commit ff1a476

Please sign in to comment.