A working python oauth2 example against google auth broker using the standalone oob flow. It can generate tokens for you or just use it to verify your creds work.