resolve oauth