Hi
I'm designing a site on google app engine and i think about a way of authenticating user wihtout redirecting them to google.
My structure of website in yaml is like:
- url: /
script: /main.py
- url: /some_page
script: some_page.py
so every page has it own mapping in yaml. Assuming that some pages will be accesible only to logged in users and others to all users, how i can authenticate them across pages?
I'm thinking to create a module that will check DB and set cookies, and import it on each page.
Are there other or better ways of doing this?