Working towards OAuth flow in pajaro