First stage oauth working