Skip to content
Open
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ public State deserialize(String base64State) {
@Override
public String serialize(State state) {
try {
return Base64.getEncoder().encodeToString(jsonMapper.writeValueAsBytes(state));
return Base64.getUrlEncoder().encodeToString(jsonMapper.writeValueAsBytes(state));
} catch (IOException e) {
if (LOG.isErrorEnabled()) {
LOG.error("Failed to serialize the authorization request state to JSON", e);
Expand Down