Self hosted Giscus throws "Cannot use giscus on this repository. Make sure all of the above criteria has been met." though repo has permission #1550
-
Self hosted Giscus throws "Cannot use giscus on this repository. Make sure all of the above criteria has been met." though repo has permissions to the self hosted app. In nginx logs it is found that 403 error. Please let me know how to resolve this issue. All the steps in https://github.com/giscus/giscus/blob/main/SELF-HOSTING.md has been followed except supabase which is optional. |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 6 replies
-
Check your private key configuration, and also check the Next.js server logs. |
Beta Was this translation helpful? Give feedback.
-
same happened to me. in my case issue was the variable ORIGIN was not set on the server when that is not set, the code related to CORS throws and the server returns 500 if the Origin header in the request is not set. When the onboarding UI calls the server, it does bot set the Origin header. after I fixed above, the. I had to fix the private key, I was missing the line breaks after —- what was very helpful was running the server locally first and replicating the browser calls with curl |
Beta Was this translation helpful? Give feedback.
Check your private key configuration, and also check the Next.js server logs.