OAuth Code Flow

I think this code is a good starting point, hope you can use it!