When the oauth service did not include a file extension in its url, which is a totally reasonable thing to do, we would just... fail to create the user altogether.
This PR does two things:
Makes sure user creation happens regardless of pfp processing.
Uses Image to load the raw binary data for the oauth pfp and always write it out as jpg.
coverage: 45.247% (+0.01%) from 45.234%
when pulling 270c62316ec4f792c1f7c90f33b1b00d94b527b9 on zkat/fix-oauth-pfp-bug
into 4efda46a7bc1141f9b9e8d1f830d90666c9f1d90 on main.
When the oauth service did not include a file extension in its url, which is a totally reasonable thing to do, we would just... fail to create the user altogether.
This PR does two things:
Image
to load the raw binary data for the oauth pfp and always write it out as jpg.