<div dir="ltr">Hi,<div><br></div><div>I&#39;m trying to work with the Keycloak REST API, I logged into the administration console, and then tried accessing <b>/auth/admin/realms</b> and got this exception:</div><div><br></div>
<div><i>Failed executing GET /admin/realms: org.jboss.resteasy.spi.UnauthorizedException: Bearer</i><br></div><div><br></div><div>How should I build my request to be able to get a response? How should I authenticate myself in this situation?<br clear="all">
<div><br></div>-- <br><div dir="ltr"><font face="Times New Roman">Rodrigo Sasaki</font><div></div></div>
</div></div>