I want to build an Identity Provider like let’s say the biggest companies such as Google, Github, Facebook, etc. However, I couldn’t find any help on how to implement such an Authorization Server (With the OAuth2.0 Flow) with all kinds of things like authorization grant, access tokens and all that stuff in real code. Does someone know how to do that using Go as the backend programming language for the Authorization Server (and also the Resource Server)?
All help is appreciated!