Can’t find a solution to login to external webapp through auth0 [closed]

I’m using a web application (this is not mine app, just external), which implements an auth0.
My aim is to login to my account via JS-code. Like, I want to make http calls not through UI, but from my code. As far as I understand, I need to provide my credentials to auth0, they would return me JWT, and I would provide it to webapp. Can you please help me?

I’ve found this example, but how can I know details like “scope”?

auth0.authorize({
  audience: 'https://mystore.com/api/v2',
  scope: 'read:order write:order',
  responseType: 'token',
  redirectUri: 'https://example.com/auth/callback'
});