Could anyone provide links to how to implement authentication logic on Gemini pages? Like how one authenticates with their self-signed cert on station or Astrobotany?
3 years ago · 👍 jo
Actions
3 Replies
It depends on your sever enviroment, if your using CGI scripts then there'll be an envvar with something like the cert fingerprint.
For example Stargazer sets TLS_CLIENT_HASH which in a python script would be accessed by os.getenv("TLS_CLIENT_HASH") · 3 years ago
astrobotany is open sourced so you might be able to figure it out from the code · 3 years ago
i've been womdering this too! · 3 years ago