Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: Remind to setup auth in server file GraphQL configuration #8742

Merged
merged 3 commits into from
Jun 26, 2023

Conversation

dthyresson
Copy link
Contributor

When testing out the server file setup on an existing RedwoodJS project with auth, we forgot to setup the same auth used in the graphql handler function in the server file graphql options.

And of course -- authentication didn't work.

This PR simply adds some comment for the moment to remind the user and call out that if they use auth to import their decoder and getCurrentUser function and include in the options.

@dthyresson dthyresson self-assigned this Jun 26, 2023
@dthyresson dthyresson requested a review from jtoar June 26, 2023 19:27
@dthyresson dthyresson changed the title chore: Remind to setup auth in server file chore: Remind to setup auth in server file GraphQL configuration Jun 26, 2023
@dthyresson dthyresson enabled auto-merge (squash) June 26, 2023 22:38
@jtoar jtoar disabled auto-merge June 26, 2023 22:49
@jtoar jtoar merged commit 625629b into redwoodjs:main Jun 26, 2023
9 of 10 checks passed
@redwoodjs-bot redwoodjs-bot bot added this to the next-release milestone Jun 26, 2023
@jtoar jtoar modified the milestones: next-release, v6.0.0 Jun 27, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants