Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Microsoft not returning id_token when using refresh_token #1178

Open
gogl92 opened this issue Mar 25, 2024 · 1 comment
Open

Microsoft not returning id_token when using refresh_token #1178

gogl92 opened this issue Mar 25, 2024 · 1 comment

Comments

@gogl92
Copy link

gogl92 commented Mar 25, 2024

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
Copy link
Member

atymic commented Apr 1, 2024

Feel free to PR to fix :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants