<div dir="ltr"><div class="gmail_quote"><div dir="ltr"><div class="gmail_quote"><div dir="ltr">Hi All,<span><div><br></div><div>I&#39;m working on a project with some fellow students and we are attempting to use Keycloak to manage the authentication and authorization for our java backend running on Wildfly. We&#39;ve managed to retrieve a token which we believe to be an offline token by opening the following URL on the mobile client and intercepting a custom URL schema: <a href="http://keycloak.cs.westmont.edu/auth/realms/Westmont/protocol/openid-connect/auth?redirect_uri=app.test://login&amp;response_type=code&amp;client_id=TestApp&amp;scope=offline_access" target="_blank">http://keycloak.cs.westmont.ed<wbr>u/auth/realms/Westmont/protoco<wbr>l/openid-connect/auth?redirect<wbr>_uri=app.test://login&amp;response<wbr>_type=code&amp;client_id=TestApp&amp;s<wbr>cope=offline_access</a></div><div><br></div></span><div>We hope that this doesn&#39;t bother you, but we are really struggling to figure out how to request the access token from the refresh token using the REST API as we haven&#39;t found any documentation or tutorials covering this use case.</div><div><br></div><div>We are also hoping to open source our efforts at building a library for mobile apps to use with Keycloak.</div><span><div><br></div><div>Please let us know if there is anything else you need to understand from us.</div><div><br></div></span><div>Thanks in advance,</div><div><br></div><div>Sam</div></div>
</div><br></div>
</div><br></div>