Well the simplest example i can think of - authorize with google and list files from your google drive:
It really depends on the oauth provider documentation. There is no point to copy their documentation where it’s already explained how to use it …