{% set user = result.user %} {% set error = result.error %} {% macro description() -%} This is an example usage of the Authomatic Python library. {% endmacro -%} {% macro providers(providers) %} {% endmacro %} {% macro form(url) %}
{% endmacro %} {{ title }}

{{ description() }} You can see the source code of this app here.
None of your private data will be saved to any kind of persistent storage like database or session.

Hi {{ user.name if user }}

You are logged in with:

{{ user.provider.name|capitalize if user }}

Your email is:

{{ user.email if user }}

Your ID is:

{{ user.id if user }}

{{ user.content if user }}
Error: {{ error.message if error }}

Authentication

OpenID

{{ form('openid') }}

GAE OpenID

{{ form('gae-openid') }}

Mozilla Persona

Authorization

OAuth 1.0a

{{ providers(oauth1) }}

OAuth 2.0

{{ providers(oauth2) }}