Revision 61363
Added by Konstantinos Spyrou almost 3 years ago
FrontEndLinkURIAuthenticationSuccessHandler.java | ||
---|---|---|
84 | 84 |
accessToken.setPath("/"); |
85 | 85 |
|
86 | 86 |
|
87 |
Cookie openAIREUser = new Cookie("openAIREUser", new Gson().toJson(userInfo));
|
|
87 |
Cookie openAIREUser = new Cookie("openAIREUser", URLEncoder.encode(new Gson().toJson(userInfo), "UTF-8"));
|
|
88 | 88 |
openAIREUser.setMaxAge(accessToken.getMaxAge()); |
89 | 89 |
openAIREUser.setPath("/"); |
90 | 90 |
if (aai_mode.equalsIgnoreCase("production") || aai_mode.equalsIgnoreCase("beta")) |
Also available in: Unified diff
1. refactoring and changes of rest api