-
-
Notifications
You must be signed in to change notification settings - Fork 3.5k
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
Error in Example Demo #1049
Comments
Could you please be a bit more verbose about what kind of error you are seeing, and how to reproduce it? |
Hi @balazsorban44. Sure. Your example application To reproduce the error:
This will produce the error
This error is not produced from cloning and using your repo, its the example application you guys have hosted. |
Thanks for raising this! I saw it earlier this week and came here to check to see if anyone had flagged it. The demo actually uses an in memory database, so has no external dependencies (beyond OAuth provides). The Protected SSR route and the JWT route are both not working, but were previously. I think there may have been some sort of change on the Vercel platform that is triggering this issue. |
I'm happy to pick this up and debug it - that's probably the best idea as I'm the only one who currently has access to the logs or to do deployments, as we don't have paid or open source team account yet. I checked the logs and do have an error but it didn't seem helpful, so will likely create a custom page with some debugging. It's seems likely the problem is with with decoding the JWT somehow, as both the JWT endpoint and the Protected endpoint use it. I have no idea why that would fail but it should be easy to debug and replicate by creating a simple API route that handles decoding the token and trapping any errors it throws. |
Okay nope, some incorrect breaking changes were made to the repo I was unaware of. I'm going to ask folks that not make changes the Example repo for now. |
Okies:
I think we should leave the exiting example repo alone for now. Hopefully in the future we can have a wider range of examples (with appropriate tests and pre-live environments in place!) |
Closing as is resolved for now. Thanks again for raising the issue! |
The example demo currently produces an application error here while signed in. You need to be signed in to see the error.
The text was updated successfully, but these errors were encountered: