๐Ÿ‘ฝ 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?

11 months 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") ยท 11 months ago

๐Ÿ‘ฝ bearly

astrobotany is open sourced so you might be able to figure it out from the code ยท 11 months ago

๐Ÿ‘ฝ jo

i've been womdering this too! ยท 11 months ago