SocialiteProviders / Providers

A Collection of Providers for Laravel Socialite
https://socialiteproviders.com
MIT License
507 stars 447 forks source link

Microsoft not returning `id_token` when using `refresh_token` #1178

Open gogl92 opened 8 months ago

gogl92 commented 8 months ago

When I call the refreshToken method it doesn't return the id_token even if it's present in the response, does this mean we also need to add them to the Token class?

image image

These methods are in Socialite but Microsoft Provider should override them to handle id_token.

https://github.com/laravel/socialite/blob/97db2cc2ddc2cedd99fc0d216aa50f2837fa9220/src/Two/AbstractProvider.php#L349

atymic commented 7 months ago

Feel free to PR to fix :)