-
-
Notifications
You must be signed in to change notification settings - Fork 5.4k
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
Restrict Giscus Origins #1534
Comments
The situation is a bit awkward, this feature requires a file Currently I have no way to decide whether to generate this file based on the site config. If a user doesn't use giscus, then his/her repository will have a useless Perhaps you can create this file in your own repo and configure it as needed. |
|
Ah, nevermind. This would always be undefined when the site is generated. |
To the best of my knowledge, this is not achievable, as expressed in my comment above. |
I will close it then, I totally understand why this would be confusing for some and there is a workaround if using giscus. |
Checklist
Is your feature request related to a problem? Please describe
Currently, anyone with your
gisscuss.repo_id
can post to your discussion board. This can lead to others spamming your discussion board (un)intentionally.Describe the solution you'd like
Please expose the origins attribute in
_config.yml
so we restrict which origins can load giscus.Describe alternatives you've considered
None, no known alternatives exist.
Additional context
No response
The text was updated successfully, but these errors were encountered: