Could you add getUserInfo() method (which calls /userinfo) so we could use it with the new API feature (which returns access_token in place of id_token)? Otherwise, we cannot use API audience parameter (#130) because it only returns access_token, and getProfile() expects id_token (and calls /tokeninfo).
As a temporary workaround, we have to call /userinfo directly to get the user profile. Or we need to include auth0.min.js and call userInfo() from there.
Hi Team,
Could you add
getUserInfo()
method (which calls/userinfo
) so we could use it with the new API feature (which returnsaccess_token
in place ofid_token
)? Otherwise, we cannot use APIaudience
parameter (#130) because it only returnsaccess_token
, andgetProfile()
expectsid_token
(and calls/tokeninfo
).As a temporary workaround, we have to call
/userinfo
directly to get the user profile. Or we need to include auth0.min.js and call userInfo() from there.Thanks