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

Defining secret for prisma-binding #34

Closed
craigblunden opened this issue Jul 8, 2018 · 1 comment
Closed

Defining secret for prisma-binding #34

craigblunden opened this issue Jul 8, 2018 · 1 comment

Comments

@craigblunden
Copy link
Contributor

craigblunden commented Jul 8, 2018

I'm new to Prisma and graph QL so apologies if this comes down to lack of knowledge.

According to the guide, the secret isn't defined when you initiate db within the context of the GraphQL Server.

https://www.howtographql.com/graphql-js/5-connecting-server-and-database/

I've been getting authentication errors on my application requests within the playground for hours until I looked through the actual package to find out its a required field:

https://github.com/prismagraphql/prisma-binding

Statically defining the secret resolved the issue.

PR #35

@nikolasburk
Copy link
Contributor

Again, thanks so much @craigblunden 🙏

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

No branches or pull requests

2 participants