Build a GraphQL API with ASP.NET Core

Mathys

Thanks for this tutorial.

Things I did to make the client work and the article forgot to mention:

define postUri
var postUri = “https://localhost:5001/graphql”;

added access_token to the scopes of the default authorization server in the admin page of okta.
This solved the badrequest I got:

BadRequest {“error”:“invalid_scope”,“error_description”:“One or more scopes are not configured for the authorization server resource.”}