[keycloak-user] Social login - need help

Stian Thorgersen sthorger at redhat.com
Mon Sep 12 09:22:50 EDT 2016


Yes. Got no clue why you are adding google as a redirect uri for a client
in Keycloak also got no clue why you're editing security-admin-console
client in the first place.

#1 Get login to your client working with username/password
#2 Add social login - In this step you shouldn't touch the clients, only
add an identity provider.

The docs should explain both steps.

On 12 September 2016 at 11:31, Kiran patil <kiranpatil at arvindinternet.com>
wrote:

> Thanks Stian,
>
> I am specifying *https://www.google.co.in <https://www.google.co.in> *as
> Valid Redirect URI for *security-admin-console *client. Is it wrong ?
>
> Kiran P
> +91 9964558157
>
> On Mon, Sep 12, 2016 at 1:20 PM, Stian Thorgersen <sthorger at redhat.com>
> wrote:
>
>> If you get a invalid_redirect_uri error from Keycloak you haven't
>> configured the correct redirect uri for your app in Keycloak. If you're
>> getting it in the social network then you have configured the correct URI
>> there.
>>
>> On 12 September 2016 at 09:12, Kiran patil <kiranpatil at arvindinternet.com
>> > wrote:
>>
>>>
>>>
>>> Kiran P
>>> +91 9964558157
>>>
>>> On Mon, Sep 12, 2016 at 12:39 PM, Kiran patil <
>>> kiranpatil at arvindinternet.com> wrote:
>>>
>>>> Hi All,
>>>>
>>>>
>>>> I am implementing social login and facing following issues.
>>>>
>>>> 1. Getting *invalid_redirect_uri *for *http://example.com
>>>> <http://example.com>. *Please suggest what should be the *Base URL*
>>>> and Valid Redirect URIs so that I can redirect to my login success
>>>> page on successful login.
>>>>
>>>> 2. If I don't specify any *Post Login Flow *getting error and it is
>>>> redirecting to */forbidden *. I need to redirect to my app on *First
>>>> Broker Login* and also successful login for existing user.
>>>>
>>>> Please help me modify the settings to solve the above issues.
>>>>
>>>>
>>>>
>>>>
>>>> Kiran P
>>>> +91 9964558157
>>>>
>>>
>>>
>>> _______________________________________________
>>> keycloak-user mailing list
>>> keycloak-user at lists.jboss.org
>>> https://lists.jboss.org/mailman/listinfo/keycloak-user
>>>
>>
>>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/keycloak-user/attachments/20160912/820aaa64/attachment.html 


More information about the keycloak-user mailing list