Google Code-In 2014
Task Preview
LightMelody: SASL OAUTH2 MechanismCopyleft Games Group

XMPP uses SASL (Simple Authentication and Security Layer) for user authentication which supports a variety of different authentication mechanisms. One of them, "X-OAUTH2", uses a web-based login (such as Google) to generate a token used for authenticating.

Add support for SASL X-OAUTH2 authentication, including opening a web browser and completing OAuth2 token negotiation. There is example code for HTTP clients using GIO that may be useful.

Write a small command-line test that demonstrates this working to login to a Google account.

While working on this task you should join and remain in #CopyleftGames on Freenode to get help, feedback, and guidance from mentors and other developers. Code updates which may affect your work are also announced here as they happen.

When you've done, commit your work and post the resulting changeset url to this task.