I am looking for a simple method to authenticate (using Goggle account) users into an python 3.7 app running on GAE. In the past (using python 2.7) I have used https://cloud.google.com/appengine/docs/standard/python/users/loginurls and the logic was something like:
def my_end_point():
if user is not authenticated:
redirect_to_google_login()
else:
user_email = get_user_email_from_auth_service()
do_the_endpoint_logic(user_email)
I would like to keep this simple logic under GAE python 3.7
I have found this and I was wondering if someone wrapped this logic with decorator..
any directions?