Prototyping some oauth code for a projectx`