First implementation of refresh token.

This commit is contained in:
Florian THIERRY
2024-09-03 10:37:58 +02:00
parent be34c555a5
commit 4d44b6f53c
7 changed files with 67 additions and 4 deletions

View File

@@ -65,7 +65,7 @@ export class LoginService {
this.userRestService
.login(state.request)
.then((response) => {
this.authenticationService.authenticate(response.accessToken);
this.authenticationService.authenticate(response.accessToken, response.refreshToken);
this.snackBar.open('Authentication succeeded!', 'Close', {
duration: 5000,
});