<html>
<head>
<meta content="text/html; charset=windows-1252"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<div class="moz-cite-prefix">Sorry for late response. I am
personally not seeing any issue with support the redirect_uri <span
style="font-size:12.8px">"org.aerogear.Shoot://oauth2Callback" .
So I suggest to create JIRA for Keycloak 2.0.0.CR1 for add this.<br>
<br>
Thanks,<br>
Marek<br>
<br>
</span>On 03/05/16 12:33, Corinne Krych wrote:<br>
</div>
<blockquote
cite="mid:CAL8vO=eq84zHVaDd7bYA4+mGeAvASdMRREQLwXf9puo-9ar6oQ@mail.gmail.com"
type="cite">
<div dir="ltr">
<div><span style="font-size:12.8px">Hello guys,</span></div>
<div><span style="font-size:12.8px"><br class="">
Moving cookbook demo AeroGear iOS sdk to Keycloak 1.9.x I
noticed that the redirect_uri validation has changes . I
used to have "org.aerogear.Shoot://oauth2Callback" for a
redirect_uri. In iOS land we used custom schema [1], as a
best practice very often the first part of it is defined
using the iOS bundle id (Apple unique id) which most of the
time contains a mix of upper/lower case letters.</span></div>
<div><span style="font-size:12.8px"><br>
</span></div>
<div><span style="font-size:12.8px">When discussing the subject
on irc with @Marek, it seems there might be an issue in
RedirectUtils.lowerCaseHostname in</span><br>
</div>
<div><span style="font-size:12.8px"><a moz-do-not-send="true"
href="https://github.com/keycloak/keycloak/blob/master/services/src/main/java/org/keycloak/protocol/oidc/utils/RedirectUtils.java#L119">https://github.com/keycloak/keycloak/blob/master/services/src/main/java/org/keycloak/protocol/oidc/utils/RedirectUtils.java#L119</a></span></div>
<div><br>
</div>
<div><span style="font-size:12.8px">I converted this url to : </span><span
style="font-size:12.8px">"org.aerogear.shoot://oauth2Callback"
and it works better [2] and did change locally the bundle id
of the iOs app. But i</span>n KC 1.4.x I was able to use
upper case in redirect_uri and for an iOS point of view, it
was much more convenient. What is the reasoning behind
redirect_uri? Should we use http(s) as the only protocol?</div>
<div><br>
</div>
<div><span style="font-size:12.8px">Thanks for your feedback.</span></div>
<div><span style="font-size:12.8px">++</span></div>
<div><span style="font-size:12.8px">Corinne</span></div>
<div><span style="font-size:12.8px">[1] <a
moz-do-not-send="true"
href="http://iosdevelopertips.com/cocoa/launching-your-own-application-via-a-custom-url-scheme.html"><a class="moz-txt-link-freetext" href="http://iosdevelopertips.com/cocoa/launching-your-own-application-via-a-custom-url-scheme.html">http://iosdevelopertips.com/cocoa/launching-your-own-application-via-a-custom-url-scheme.html</a></a></span></div>
<div><span style="font-size:12.8px">[2] <a
moz-do-not-send="true"
href="https://github.com/aerogear/aerogear-backend-cookbook/pull/30/files"><a class="moz-txt-link-freetext" href="https://github.com/aerogear/aerogear-backend-cookbook/pull/30/files">https://github.com/aerogear/aerogear-backend-cookbook/pull/30/files</a></a></span></div>
</div>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
keycloak-dev mailing list
<a class="moz-txt-link-abbreviated" href="mailto:keycloak-dev@lists.jboss.org">keycloak-dev@lists.jboss.org</a>
<a class="moz-txt-link-freetext" href="https://lists.jboss.org/mailman/listinfo/keycloak-dev">https://lists.jboss.org/mailman/listinfo/keycloak-dev</a></pre>
</blockquote>
<br>
</body>
</html>