Missing scope in access token

I am developing a Blazor Server app with Auth0. Because I am incorporating roles and will be manipulating them in the app, I need to access the API. I am managing to create an access token, but on examination in a JWT decoder, I have found that it does not contain any of my needed scopes, thus generating an error when I try to use it.

The audience in the token is correct, and (through research) I have tried many different ways to include the scopes, Normal authentication into the app works correctly.

To quote TeX, I’m stymied.

I can give code samples, if needed.

Thanks!