I would like to retrieve the scope field from the authResult as it was done in the following tutorial:
However, in the example, a previous version of the library was used.
How can I get the information (the scope) when using the auth0-spa-js?
I can see that the response from the token endpoint contains the scope field, but I don’t know how to grab it. As a temporary workaround I created a rule which ads the information to the id token, but it seems a bit weird that the feature seems to be no longer available in the newest library version.