Selfhosted widget - API integration

Using self hosted widget login, I am unable to get the userId of the current logged in user,
so that I can use those details for integrating other user related API
I am able to get the userinfo which does not have id field in it, and I have got the access token required for API.

Hi @arung86,

sub claim in id token and userinfo response would refer to the userid. See the example here.