<div dir="ltr">Both should work, so if Keycloak is complaining with just "token" create a jira</div><div class="gmail_extra"><br><div class="gmail_quote">On 18 January 2016 at 13:29, Ramon Rockx <span dir="ltr"><<a href="mailto:ramon@iqnomy.com" target="_blank">ramon@iqnomy.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Hi all,<br><br>I was trying to configure Swagger UI (<a href="http://swagger.io/swagger-ui/" target="_blank">http://swagger.io/swagger-ui/</a>) so it will use Keycloak for OAuth2 authorization.<br>Swagger UI supports the 'Authorization Code Grant' flow and the 'Implicit Grant' flow. I managed to configure Swagger UI to use the 'Authorization Code Grant' flow, but I did not succeed with the implicit flow.<br>I think this is because Keycloak expects the <span style="font-family:monospace,monospace">response_type</span> url parameter to be '<span style="font-family:monospace,monospace">id_token token</span>', while Swagger UI uses the url parameter <span style="font-family:monospace,monospace">response_type=token</span>.<br>rfc6749 also states (<a href="https://tools.ietf.org/html/rfc6749#section-4.2.1" target="_blank">https://tools.ietf.org/html/rfc6749#section-4.2.1</a>) that the <span style="font-family:monospace,monospace">response_type</span> parameter should be '<span style="font-family:monospace,monospace">token</span>'. So why is it that Keycloak requires the value '<span style="font-family:monospace,monospace">id_token token</span>'?<br>Is it possible to configure Keycloak, so it will accept '<span style="font-family:monospace,monospace">token</span>' as response_type?<br><br>Thank you!<span class="HOEnZb"><font color="#888888"><br><br>Ramon Rockx</font></span></div>
<br>_______________________________________________<br>
keycloak-user mailing list<br>
<a href="mailto:keycloak-user@lists.jboss.org">keycloak-user@lists.jboss.org</a><br>
<a href="https://lists.jboss.org/mailman/listinfo/keycloak-user" rel="noreferrer" target="_blank">https://lists.jboss.org/mailman/listinfo/keycloak-user</a><br></blockquote></div><br></div>