I need to configure areas in Keycloak using Admin WS, available along the way
http://KeycloakServer:8081/auth/admin/realms
So, in Postman, I run the following query
URL: http://KeycloakServer:8081/auth/admin/realms
Method: POST
Body:
{
"enabled": true,
"id": "TestRealm",
}
I get a response 401 Unauthorized, so I think it is necessary to authenticate to Admin WS. But in the documents I can not find any information about the type of authentication required and the syntax. Do you know how to authenticate with WS-Keycloak?
thanks
source
share