aurelia-auth-sample icon indicating copy to clipboard operation
aurelia-auth-sample copied to clipboard

If profile.picture, throws error

Open mikecann opened this issue 9 years ago • 1 comments

Line 61 of Google.js in server throws an error when trying to login using Google.

It can be worked around by doing the following:

if (profile.picture)
            user.picture = profile.picture.replace('sz=50', 'sz=200');

For some reason the user.google field isnt filled so it looks like google isnt linked:

image

Any Ideas?

mikecann avatar May 26 '16 04:05 mikecann

Can you check https://github.com/paulvanbladel/aurelia-auth-sample/issues/19

paulvanbladel avatar May 30 '16 07:05 paulvanbladel