Hi ! I have an OIDC app connected to a Vue.Js app. I am trying to retrieve the group name and the roles of the current user with getUser() function.
Here is my okta config :
issuer: ‘https://wj.okta.com/oauth2/default’,
client_id: ‘0oa3x7nt6x8f1JCS5417’,
redirect_uri: window.location.origin,
scopes: [‘groups’]
My problem is that , with this config, getUser() returns : {sub: ‘00u3q1ho5nOjGWUVa417’} and I have no clue what is this ID. Could you explain me how can I retrieve the role of the user with such a configuration ? Much appreciated