Skip to content

GraphQL Endpoint Authorization #45

@sarmstead

Description

@sarmstead

Description

I am creating an application that plans to consume the GraphQL endpoint (https://0kadddxyh3.execute-api.us-east-1.amazonaws.com/graphql).

However, when provided with a valid bearer token (e.g. a token that works with a REST endpoint), a call to the GraphQL endpoint returns a 403 error with the message: User is not authorized to access this resource.

I also noticed that the schema in the Apollo Playground is not populating and has a Schema Introspection Failure message, which could be a related or separate issue (see screenshot below).
Screenshot 2024-04-30 at 6 30 07 PM

Steps to Reproduce

  1. Fetch bearer token
  2. Query movies resource using bearer token from step 1 (I've tried this using JavaScript and Postman).

@jesus4497, @mimurawil, or @dustinsgoodman, could one of you help me diagnose and squash this bug?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions