Skip to content

Commit

Permalink
fix refresh token
Browse files Browse the repository at this point in the history
  • Loading branch information
Allan-Nava authored May 6, 2022
1 parent 243a7e1 commit 0d0b472
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions apps/keycloak/app.go
Original file line number Diff line number Diff line change
Expand Up @@ -128,9 +128,10 @@ func (App) Router() {
request.Status(400).JSON(errorResponse)
})
//
evo.Post("api/auth-refresh-token", func(request *evo.Request) {
log.DebugF("auth-refresh-refresh called")
request.WriteResponse()
evo.Post("api/auth-refresh-token", RefreshToken)
evo.Get("api/refresh-token", func(request *evo.Request) {
// capire dal frontend usare lo standard di errore di EVO
request.Status(400).JSON(errorResponse)
})
}

Expand Down

0 comments on commit 0d0b472

Please sign in to comment.