KEYCLOAK-2801 Redirected to login theme error page after failed social linking from account management
This commit is contained in:
1 parent
ffe483ae2d
commit
d14867f785
6 files changed
+257
-83
No files matched your search
+11
@@ -17,6 +17,7 @@
|
||||
|
||||
package org.keycloak.admin.client.resource;
|
||||
|
||||
import org.jboss.resteasy.annotations.cache.NoCache;
|
||||
import org.keycloak.representations.idm.CredentialRepresentation;
|
||||
import org.keycloak.representations.idm.FederatedIdentityRepresentation;
|
||||
import org.keycloak.representations.idm.GroupRepresentation;
|
||||
@@ -35,6 +36,7 @@ import javax.ws.rs.Produces;
|
||||
import javax.ws.rs.core.MediaType;
|
||||
import javax.ws.rs.core.Response;
|
||||
import java.util.List;
|
||||
import java.util.Map;
|
||||
|
||||
/**
|
||||
* @author rodrigo.sasaki@icarros.com.br
|
||||
@@ -132,4 +134,13 @@ public interface UserResource {
|
||||
@Path("role-mappings")
|
||||
public RoleMappingResource roles();
|
||||
|
||||
|
||||
@GET
|
||||
@Path("consents")
|
||||
public List<Map<String, Object>> getConsents();
|
||||
|
||||
@DELETE
|
||||
@Path("consents/{client}")
|
||||
public void revokeConsent(@PathParam("client") String clientId);
|
||||
|
||||
}
|
||||
Reference in new issue
Block a user