<div dir="ltr"><br><div class="gmail_extra"><br><div class="gmail_quote">On 5 February 2016 at 14:55, Thomas Raehalme <span dir="ltr"><<a href="mailto:thomas.raehalme@aitiofinland.com" target="_blank">thomas.raehalme@aitiofinland.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"><div>Hi!</div><div><br></div><div>How about just a default redirect URL where the user is redirected when it's appropriate to return back to the application?</div><div>The redirection could be immediate or a link on the error view.</div></div></blockquote><div><br></div><div>Errors should not be masked and you can already customize the error page to add a link</div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div><br></div><div>I think this would help avoid a lot of confusion when Keycloak for a reason or another is not aware of the client and needs to abort the process.</div></div></blockquote><div><br></div><div>There are only a few cases where the client isn't known and I don't think this is a good solution for either of those:</div><div><br></div><div>* Admin sends email action to user - a better solution here would be to allow admin to select a client</div><div>* Client session times out and is garbage collected - we could add client uuid to the client session code which would mean it's always available</div><div>* Client is not specified - this is an error in your application and should not just be masked. Solution to make it more friendly is to improve error page</div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div><br></div><div>Best regards,</div><div>Thomas</div><br><div class="gmail_extra"><br><div class="gmail_quote"><div><div class="h5">On Fri, Feb 5, 2016 at 3:48 PM, Thomas Darimont <span dir="ltr"><<a href="mailto:thomas.darimont@googlemail.com" target="_blank">thomas.darimont@googlemail.com</a>></span> wrote:<br></div></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div class="h5"><div dir="ltr"><div>Hi group,</div><div><br></div><div>I have multiple realms and a list of clients registered within each realm. For each realm I'd like to configure</div><div>a "default" client that can be used as a redirect fallback if no client or redirect_uri was specified in requests.</div><div><br></div><div>The usecase is to provide some kind of "home" or "launchpad" service where users are redirected to in case</div><div>they don't know or didn't specify where to go.</div><div>The launchpad would then present a "fancy selection" of all the apps (clients) that are available to the current user,</div><div>somewhat comparable to the <a href="https://www.google.de/intl/de/about/products/" target="_blank">https://www.google.de/intl/de/about/products/</a> page.</div><div><br></div><div>Is this already possible or considered as a feature?</div><div><br></div><div>A default "default" client could be the account application.</div><div><br></div><div>A quick hack I could think of would be to define a client with the name "default" (or another well-known name)</div><div>and register a custom endpoint in Keycloak that would accept the client_id as a url parameter and redirect to the</div><div>configured client base url.</div><div><br></div><div>Cheers,</div><div>Thomas</div></div>
<br></div></div>_______________________________________________<br>
keycloak-user mailing list<br>
<a href="mailto:keycloak-user@lists.jboss.org" target="_blank">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><br>
</div></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></div>