[keycloak-user] Why is email required when joining via Google?

Chris Hairfield chairfield at gmail.com
Fri Sep 16 05:02:22 EDT 2016


It's been a while, but I just figured this out. You were right to point me
back to the docs. We had an incorrect value for default scopes. By leaving
it blank, those 3 inputs were avoided.

Thanks, Marek!

On Tue, Sep 6, 2016 at 12:36 AM Marek Posolda <mposolda at redhat.com> wrote:

> That's strange. Email should be automatically added from Google though.
> Did you follow the steps for setup your Google application based on our
> docs? See
> https://keycloak.gitbooks.io/server-adminstration-guide/content/v/2.1/topics/identity-broker/social/google.html
> .
>
> Also are you sure you are using your gmail account and not some different
> Google-apps domain account?
>
> Marek
>
>
>
> On 01/09/16 01:04, Chris Hairfield wrote:
>
> Hello,
>
> I'm attempting to register via the Google OAuth link. Keycloak routes me
> to Google where I authorize my app. Then I'm returned to Keycloak.
>
> Why am I asked to input my email (below)? Keycloak requests
> <https://github.com/keycloak/keycloak/blob/master/services/src/main/java/org/keycloak/social/google/GoogleIdentityProvider.java#L31>
> the email scope and Google is an email provider. Why is my Google email not
> automatically stored at the email of this new account?
>
> I even have Trust Email on for Google.
>
> Chris
>
> [image: keycloak-q.png]
>
>
> _______________________________________________
> keycloak-user mailing listkeycloak-user at lists.jboss.orghttps://lists.jboss.org/mailman/listinfo/keycloak-user
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/keycloak-user/attachments/20160916/dc6c3676/attachment-0001.html 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: image/png
Size: 24501 bytes
Desc: not available
Url : http://lists.jboss.org/pipermail/keycloak-user/attachments/20160916/dc6c3676/attachment-0002.png 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: image/png
Size: 24501 bytes
Desc: not available
Url : http://lists.jboss.org/pipermail/keycloak-user/attachments/20160916/dc6c3676/attachment-0003.png 


More information about the keycloak-user mailing list