10-26-2017 10:11
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post

10-26-2017 10:11
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post
The API documentation seems to show that the user_id parameter is only returned as part of the Implicit Grant flow and not the Authorization Code Grant flow. If you have a server based app using the Authorization Code Grant flow and the Subscriptions API, how are you supposed to obtain the user_id to retrieve the data associated with the subscription notification?
Answered! Go to the Best Answer.
Accepted Solutions
10-26-2017 20:21 - edited 10-26-2017 20:22
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post



10-26-2017 20:21 - edited 10-26-2017 20:22
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post
Both Authorization Code flow and implicit flow return user id first time when you receive access token.
Where in documentation did you see that user_id is not returned as part of code flow?

10-26-2017 20:21 - edited 10-26-2017 20:22
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post



10-26-2017 20:21 - edited 10-26-2017 20:22
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post
Both Authorization Code flow and implicit flow return user id first time when you receive access token.
Where in documentation did you see that user_id is not returned as part of code flow?

10-27-2017 06:19
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post

10-27-2017 06:19
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post
First, thanks for the quick response. The documentation doesn't explicitly state that user_id isn't returned in the Authorization Code Grant flow, but rather it explicitly states that it is returned in the Implicit Grant Redirect URI Parameters section under Redirect URIs. It simply isn't clear that the user_id is passed back in the Authorization Code flow, and I wanted to be sure when designing our flows.

