----- Original Message -----
From: "Marek Posolda" <mposolda(a)redhat.com>
To: "Stian Thorgersen" <stian(a)redhat.com>, "keycloak-dev"
<keycloak-dev(a)lists.jboss.org>
Sent: Thursday, 3 September, 2015 10:49:11 AM
Subject: Re: [keycloak-dev] Cancel button options for clients
+1
I wonder that we can also improve one of the demo examples (eg.
customer-portal ) to show the custom error page?
That'd be good
Marek
On 03/09/15 09:04, Stian Thorgersen wrote:
> Currently the cancel button always redirects to the redirect_uri with
> error=access_denied. This is fine if the application wants to handle the
> rejected login. However, it does require the application to add
> logic/error handling to display a suitable error message to the user
> instead of just a generic 400 error page.
>
> I propose we add a configuration option to clients for how the cancel
> button is handled. Options would be:
>
> * None - don't display cancel button, this is useful when login is
> mandatory (for example our admin console)
> * Error redirect - redirect to redirect_uri with error=access_denied
> * Return to app - redirect to base_url of client (if this is set base_url
> would be required)
> _______________________________________________
> keycloak-dev mailing list
> keycloak-dev(a)lists.jboss.org
>
https://lists.jboss.org/mailman/listinfo/keycloak-dev