Skip to content
New issue

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

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

Already on GitHub? # to your account

modified: src/providers/linkedin.ts #105

Merged
merged 7 commits into from
Apr 27, 2024

Conversation

gongfan99
Copy link
Contributor

The id_token was missed from validateAuthorizationCode()
The actual fetch response is like:

{
  access_token: 'xxxxxxxxx',
  expires_in: 5183999,
  scope: 'email,openid,profile',
  token_type: 'Bearer',
  id_token: 'xxxxxxxxx'
}

The refresh token is available only if your application is authorized for programmatic refresh tokens according to:
https://learn.microsoft.com/en-us/linkedin/shared/authentication/programmatic-refresh-tokens

@pilcrowonpaper
Copy link
Owner

@pilcrowonpaper pilcrowonpaper merged commit adf70ca into pilcrowonpaper:main Apr 27, 2024
@pilcrowonpaper
Copy link
Owner

Thanks!

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

Successfully merging this pull request may close these issues.

2 participants