-
Notifications
You must be signed in to change notification settings - Fork 76
Open
Description
Hello,
I have seen a little error for the "auth-token" SessionStorage.
In frontend (File login.component.ts):
this.authService.login(username, password).subscribe(
data => {
this.tokenStorage.saveToken(data.accessToken);
this.tokenStorage.saveUser(data);In backend (File JwtResponse.java):
@Data
public class JwtResponse {
private String token;
private String type = "Bearer";So, in frontend accessToken should be changed to token (Or in backend change token to accessToken).
azseza and saharelaid
Metadata
Metadata
Assignees
Labels
No labels