We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
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).
accessToken
token
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Hello,
I have seen a little error for the "auth-token" SessionStorage.
In frontend (File login.component.ts):
In backend (File JwtResponse.java):
So, in frontend
accessToken
should be changed totoken
(Or in backend changetoken
toaccessToken
).The text was updated successfully, but these errors were encountered: