For a recent request, I was unable to get the image options to work (image_aspect_ratio and image_size). It looks like the raw_info now comes back with picture in a different format than previously expected. Here's a sample:
These lines in the google strategy explicitly look for photo.jpg in the URL and then attempt to apply the image options, if present. Since it's no longer part of the URL, path_index will be nil and image options will always be skipped.
For a recent request, I was unable to get the image options to work (
image_aspect_ratio
andimage_size
). It looks like theraw_info
now comes back withpicture
in a different format than previously expected. Here's a sample:These lines in the google strategy explicitly look for
photo.jpg
in the URL and then attempt to apply the image options, if present. Since it's no longer part of the URL,path_index
will be nil and image options will always be skipped.https://github.com/zquestz/omniauth-google-oauth2/blob/2f8cefd7ef9701e92b7ee227073fb5f85c847817/lib/omniauth/strategies/google_oauth2.rb#L178-L197
Please let me know if I'm mistaken, or doing something incorrect. Thanks!