In my quest to figure out how to keep using Google App Engine when Python27 eventually goes away, I've just run into yet another case where something simple seems to have been replaced with a nightmare of complexity <https://cloud.google.com/appengine/docs/standard/python/migrate-to-python3/migrating-services#user_authentication>.
In my old app.yaml, I had this: - url: /admin/.* script: main.app secure: always login: admin Unfortunately, python37 doesn't support login: admin any more (!). I'm facing a mountain of documentation detailing a bunch of different ways I can do authentication now. Stack overflow is no help at all in simplifying this. Anyone here have advice on the easiest possible way to get the old Python27 behavior that you have to be logged in as the app administrator in order to hit a certain URL? This isn't for ensuring crons are only run by cron. That seems pretty easy by looking at headers. This is for when you have administrative functions that only the developers need access to, and I'm looking for the easiest way to ensure a URL is only accessible to those particular people. In case it matters, I'm using Flask. -Joshua -- You received this message because you are subscribed to the Google Groups "Google App Engine" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/google-appengine/6FA029D9-2ADB-4EFA-847B-56A1C15C33B1%40gmail.com.
