👽 idx

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

👋 Join Station

3 Replies

👽 cool110

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

👽 bearly

astrobotany is open sourced so you might be able to figure it out from the code · 3 years ago

👽 jo

i've been womdering this too! · 3 years ago