In my SPA, I want to get the okta user-id when I call this function:
const user = await this.$auth.getUser()
but at the moment, it returns the sub-attribute which has the app client id for my SPA
I did some research and found the expression
user.getInternalProperty("id"), but it is also returning the app client id.
My current setting:
scopes: [‘openid’, ‘profile’, ‘email’],
What is the right way to getting the user id?