How to install
Closed this issue · 1 comments
sedkis commented
Awesome repo! I'd love to contribute.
I'm trying to run locally. Are there instructions for how to do so beyond the readme? I think I may be missing a step or two.
I've configured the .env
file, and I'm getting the following error upon redirection from GH login:
❌ tRPC failed on restaurant.getAll: UNAUTHORIZED
[sentry] If Next.js logs a warning "API resolved without sending a response", it's a false positive, which may happen when you use `withSentry` manually to wrap your routes.
To suppress this warning, set `SENTRY_IGNORE_API_RESOLUTION_ERROR` to 1 in your env.
To suppress the nextjs warning, use the `externalResolver` API route option (see https://nextjs.org/docs/api-routes/api-middlewares#custom-config for details).
Upon investigation breakpoints, I can see that the ctx.session
is not being set in serversideprops, but it's not clear why.
sedkis commented
Nevermind, I had the callback URL wrong.. whoopsie. I introspected it by looking at the API call via browser upon reroute