简体   繁体   English

LinkedIn API:是否可以为一个用户同时拥有多个访问令牌?

[英]LinkedIn API: Is it possible to have more than one access token for a user active at the same time?

I'm developing an integration with LinkedIn for my company, and I'm noticing this behavior when switching between different development environments:我正在为我的公司开发与 LinkedIn 的集成,并且在不同的开发环境之间切换时我注意到了这种行为:

  1. I have an active LinkedIn account on EnvA我在 EnvA 上有一个活跃的 LinkedIn 帐户
  2. I authorize the same LinkedIn account on EnvB我在 EnvB 上授权同一个 LinkedIn 帐户
  3. The account on EnvA is immediately denied on all API requests with an error of "Unable to verify access token" EnvA 上的帐户在所有 API 请求上立即被拒绝,并显示“无法验证访问令牌”错误

So it seems like there can only be one active access token per LinkedIn user at one time?那么似乎每个 LinkedIn 用户一次只能有一个活动访问令牌? Is it correct behavior for an existing access token to become invalid upon generation of a new one, even if the other access token is on a different domain?即使另一个访问令牌在不同的域中,现有访问令牌在生成新访问令牌时变为无效的行为是否正确?

Thanks,谢谢,

Matt马特

Requesting a new access token for a user invalidates any existing tokens.为用户请求新的访问令牌会使任何现有令牌无效。 You can only have one functional token per app per user at a time.每个用户一次只能为每个应用程序拥有一个功能令牌。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 自动刷新linkedin访问令牌 - Refresh linkedin access token automatically 如果没有明确的用户批准,我可以获取Linkedin oauth访问令牌吗? - Could I get Linkedin oauth access token without explicitly user approve? 如何获取 Cylance 用户 API 的访问令牌? - How to get an access token for the Cylance User API? 每次我刷新访问令牌时刷新刷新令牌**或**使用多次刷新令牌 - refreshing refresh token every time I refresh access token **OR** using multiple time one refresh token 如何用旧的 Laravel 护照替换新的 api 访问令牌 - How to replace a new api access token with the old one laravel passport 一次创建的Web Api令牌正在处理所有请求 - One time created Web Api token is working on all request Facebook App Uncaught OAuthException:必须使用活动访问令牌来查询有关当前用户的信息。 抛出 - Facebook App Uncaught OAuthException: An active access token must be used to query information about the current user. thrown 从WSO2 Api Manager检索用户访问令牌 - Retrieve user access TOKEN from WSO2 Api Manager 如何使用一个OAuth令牌通过JavaScript API访问Google Analytics(分析)? - How to access Google Analytics through the JavaScript API with one OAuth token? OAuthException /必须使用活动访问令牌来查询有关当前用户的信息 - OAuthException / An active access token must be used to query information about the current user
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM