This article is intended as a beginner level article for people that want to learn how to use OAuth2 in their web applications natively.
There is an accompanying video/demo that may be helpful here: 





and you can reproduce this locally with the Open Exchange application attached.
OAuth2 as a native authentication type for web...