Closed wilg closed 1 year ago
Actually now I'm confused, it seems like I still don't get name and email even with this change.
This does work, I had something wrong on my end.
Can confirm -- we have been using this fix for a while now
this treatment should be done in omniauth-oauth2 or oauth2 gem layer.
When providing both email and name as scopes. For example "email name" the request URL is being incorrectly transformed with a + between the scope names rather than correctly using a %20.
Incorrect: "name+email" Correct: "name%20email"
@sebfie helpfully diagnosed the issue and figured out the fix here nhosoya#12 (comment)
I wondered if we could get this merged and released in the gem.
Closes nhosoya#12 Closes nhosoya#13
https://github.com/fdoxyz/omniauth-apple/pull/1/commits/366272af2ddabf1c9609d18e3e6cca0f594c020e