Newbie question for user_id

Going through the initial Tutorial for Angular I was expecting to see the user_id in the response.

this.auth.user$.subscribe((profile) => {
this.profileJson = JSON.stringify(profile, null, 2);
})

However no user_id is return. How do I access the user_id so that I can associated the data with the user ?

Hi @tennal.jennings,

Welcome to the Community!

The user’s ID is returned in the sub claim of the ID Token (the ID Token is where the user profile info comes from):

This topic was automatically closed 15 days after the last reply. New replies are no longer allowed.