You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Document cookie, PASSWORD and HASHED_PASSWORD environment variables #4691
Same problem here with the only difference that we use the key cookie to (automatically) authenticate the users as mentioned here.
B.t.w., I searched the docs and neither the environment variables PASSWORD or HASHED_PASSWORD, nor the authentication cookie key are mentioned anywhere. The environmental variables are mentioned in code-server --help but not the cookie. Should these things be documented or are they subject to changes?
Oh, looks like the authentication cookie was renamed (again) in #4548 to code-server-session.
Setting the hashed password using the new cookie works as before. Tested for 4.0.0 and 4.0.1. I still wish this method had been documented.
Should these things be documented or are they subject to changes?
I checked as well and don't see them. Very strange. I thought we had docs on this but I guess not. Thanks for raising this!
Oh, looks like the authentication cookie was renamed (again) in #4548 to code-server-session.
Setting the hashed password using the new cookie works as before. Tested for 4.0.0 and 4.0.1. I still wish this method had been documented.
Ah, I forgot that happened. Yes, you shouldn't have to go digging to find this. Thank you for testing! Where would you expect to find this information in the docs?
Activity
ykazakov commentedon Jan 9, 2022
Same problem here with the only difference that we use the
keycookie to (automatically) authenticate the users as mentioned here.B.t.w., I searched the docs and neither the environment variables
PASSWORDorHASHED_PASSWORD, nor the authentication cookiekeyare mentioned anywhere. The environmental variables are mentioned incode-server --helpbut not the cookie. Should these things be documented or are they subject to changes?ykazakov commentedon Jan 9, 2022
Oh, looks like the authentication cookie was renamed (again) in #4548 to
code-server-session.Setting the hashed password using the new cookie works as before. Tested for 4.0.0 and 4.0.1. I still wish this method had been documented.
jsjoeio commentedon Jan 10, 2022
I checked as well and don't see them. Very strange. I thought we had docs on this but I guess not. Thanks for raising this!
Ah, I forgot that happened. Yes, you shouldn't have to go digging to find this. Thank you for testing! Where would you expect to find this information in the docs?
[-]HASHED_PASSWORD doesn't work[/-][+]Document cookie, PASSWORD and HASHED_PASSWORD environment variables[/+]stale commentedon Jul 9, 2022
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no activity occurs in the next 5 days.
gerardo-junior commentedon Nov 5, 2022
+1 on https://docs.linuxserver.io/images/docker-code-server