[% WRAPPER wrapper.html %]

Hello. This page demonstrates the OAuth protocol. It uses OAuth to access the Google Contacts API.

[% IF c.session.param('errors').size %]

[% FOREACH error IN c.session.param('errors') %] [% error %]
[% END %]

[% dummy = c.session.clear('errors') %] [% END %] [% IF c.session.param('token') %]

Got Access Token [Reset]

[% IF contacts.size %]

Contacts retrieved successfully! Here is a random selection:

[% ELSE %]

No contacts found

[% END %] [% ELSE %]

Click here to begin

[% END %] [% END %]