store tokens with .serialize() not .toString()
parent
970e3f2f79
commit
a184b79b06
|
@ -166,7 +166,7 @@ public class OAuth2AccessTokenEntity implements OAuth2AccessToken {
|
|||
@Basic
|
||||
@Column(name="token_value")
|
||||
public String getValue() {
|
||||
return jwtValue.toString();
|
||||
return jwtValue.serialize();
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
|
@ -117,7 +117,7 @@ public class OAuth2RefreshTokenEntity implements OAuth2RefreshToken {
|
|||
@Basic
|
||||
@Column(name="token_value")
|
||||
public String getValue() {
|
||||
return jwt.toString();
|
||||
return jwt.serialize();
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
Loading…
Reference in New Issue