Finally got OAuth working.