exchange_custom_token function

Exchange custom token for an ID and refresh token