making the oauth note more generic