Commit a3182af5 authored by Jyrgen Hannus's avatar Jyrgen Hannus
Browse files

Fixed official user mock auth user endpoint mapping

parent a8fcb366
......@@ -133,7 +133,7 @@ public class MockAuthService {
UriComponentsBuilder uriBuilder;
if (isOfficeUser) {
if (hasMockRoles || hasMockPrivileges) {
uriBuilder = composeMockUri(mockUser, authUserInfoProperties.getOfficeUserInfoPath());
uriBuilder = composeMockUri(mockUser, authUserInfoProperties.getMockOfficeUserInfoPath());
} else {
uriBuilder = UriComponentsBuilder.fromHttpUrl(authUserInfoProperties.getUrl() +
authUserInfoProperties.getOfficeUserInfoPath());
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment