Thanks. That fixed it.
On 7/28/14, 9:40 AM, "Bill Burke" <bburke(a)redhat.com> wrote:
redirect uri: http://localhost:8080/customer-portal/*
Notice the "/*". Redirect is either a wildcard or specific/exact URL.
On 7/28/2014 9:35 AM, Vivek Srivastav (vivsriva) wrote:
> Thanks for clarifications. I tried using the following configuration
> customer-portal and product-portal:
> Name: customer-portal
> Access Type: confidential
> Redirect URI: http://localhost:8080/customer-portal
> Base URL:
> Admin URL: http://localhost:8080/customer-portal/admin
> But I keep getting ³WE¹RE SORRY², ³Invalid redirect_uri² error
> On 7/28/14, 9:10 AM, "Stian Thorgersen" <stian(a)redhat.com> wrote:
>> The two special redirect-uris you refer to are for installed
>> (for example a CLI interface or a desktop app). In #1 you're asking
>> bundling with your web app, so you shouldn't be using these.
>> Instead you should use whatever URL you use to access your application.
>> For example if your application is:
>> Then your redirect-uri should be:
>> You can also use a wild-card if you want to allow any page on a certain
>> domain/context-path, for example:
>> ----- Original Message -----
>>> From: "Vivek Srivastav (vivsriva)" <vivsriva(a)cisco.com>
>>> To: keycloak-user(a)lists.jboss.org
>>> Sent: Monday, 28 July, 2014 1:54:58 PM
>>> Subject: [keycloak-user] Clarification on redirect uri configuration
>>> the KeyCloak admin console
>>> I am trying to understand the redirect uri configuration on the
>>> admin console.
>>> As per the document:
>>> there are two special special redirect uri for application. I have few
>>> questions about the http://localhost
>>> 1. When I configure my application with the http://localhost
>>> confidential access_type, am I supposed to provide a callback
>>> implementation or is is handled by keyclock client libraries
>>> bundle with my web app?
>>> 2. Am I supposed to provide a ³port² along with the redirect uri?
? It seems like with either configuration
>>> gives me
>>> ³WE¹RE SORRY², ³Invalid redirect_uri².
>>> 3. When running KeyCloak and my client application on separate
>>> will the http://localhost
redirect uri automatically supposed to
>>> replaced with the correct IP address/hostname of the Resource
>>> provides, I.e. my application?
>>> I understand that this redirect_uri has been made a mandatory field in
>>> release of KeyCloak and I could not find information related to its
>>> configuration in the ³Base Part 1² tutorial video.
>>> Any pointers about how to configure this redirect uri for
>>> access_type would be very helpful.
>>> Kind Regards,
>>> keycloak-user mailing list
> keycloak-user mailing list
JBoss, a division of Red Hat
keycloak-user mailing list