rsc / tiddly

TiddlyWiki (actually TiddlyWeb) server for Google App Engine
BSD 3-Clause "New" or "Revised" License
122 stars 19 forks source link

support go11x runtimes #4

Open mariusae opened 4 years ago

mariusae commented 4 years ago

The old runtimes are no longer supported, and App Engine does not permit creating or updating go1 projects.

This change introduces support of the go111 runtime. Newer runtimes no longer support login: handlers.

rsc commented 4 years ago

I'm worried about the loss of login. I notice login: admin is still in the yaml file? And if we lose login then how do we authenticate instead?

mariusae commented 4 years ago

go111 supports login still (it's technically "deprecated" within go111), and it works the same. go112+ do not. In that case, we have to use the sign-in APIs directly. I left that as future work.

Note that this change strictly improves on the current situation since the go1 runtime is no longer deployable in App Engine, go111 is.

sevki commented 4 years ago

could adding support for https://github.com/duo-labs/webauthn solve this problem for go 1.12+?

philips commented 4 years ago

See #7 for a replacement with Google's Identity Aware Proxy