-
Notifications
You must be signed in to change notification settings - Fork 201
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鈥檒l occasionally send you account related emails.
Already on GitHub? Sign in to your account
Option to Password Protect the Entire Page #599
Comments
I might be missing something here and you might need to provide additional details or description of your requirements. How about setting |
This approach has the following problems:
|
Hope this helps. |
It seems like you might be looking for more of a site-wide password protection option? If you are using Cloudflare, I believe they have an option or plugin to password protect an entire website or maybe even just a portion of website. |
I would like to clarify that I would want the navigation to be accessible to users who possess the password, while excluding access to it for users who do not possess the password. Basically having a password set for the entire project not only single pages.
The functionality functions properly when the environmental variable is set. However, in the absence of this variable, attempting to initiate the
The outcome is a 404 page exclusively due to the password protection implemented on every page within the project. |
Yes 馃槵 But im not using Cloudflare or anything similar. It would be cool if Retype had this feature. Would maybe also somehow solve #679 as I currently need to set every page to |
Any news on this topic? 馃槆 |
馃摉 Description
Currently it's possible with Retype to password protect single pages or folders by setting the
visibility
property toprotected
.It would be useful option to protect the entire page with a password so that viewers without a password can't even see the navigation.
馃攷 Details
Ideally this setting could be controlled via a CLI parameter like the actual password (
RETYPE_PASSWORD
) or the secret (RETYPE_SECRET
) or an environment variable.Maybe something like
RETYPE_PAGE_PROTECTED=true
It could also be part of the project configuration in
retype.yml
for exampleThe text was updated successfully, but these errors were encountered: