I plan to use Auth0 as my authentication service, and I'd like to know if Auth0 ID_Token, returned from Auth0 in Step 1, can be used as a unique ID for a user (i.e., it won't change during the whole life cycle of a registered user for my app).
In the above diagram, Action 3 will post an article (e.g, blog entry) to my app. And the app needs to be able to
- show who published a particular article;
- a user should be able to find out all the articles that she published.
Here are my questions:
- Will the ID_Token from Auth0 always been same for a user, so that I can use that as my user_id?
- If the answer to the above question is yes, how can Step 3 (post the article Restful call) carry such a token so that my Table_Article is able to use such an ID as a field?
- Do I need maintain a Table_User in my DynamoDB on my AWS service side?