Build your own #oauth2 Server in #go
▻https://hackernoon.com/build-your-own-oauth2-server-in-go-7d0f660732c3?source=rss----3a8144eabf
Build your Own OAuth2 Server in GoHello, in today’s article, I will show you how you can build your own OAuth2 server just like google, facebook, github etc.This will be very helpful if you want to build a production ready public or private API. So let’s get started.What is OAuth2?Open Authorization Version 2.0 is known as OAuth2. It’s one kind of protocol or framework to secure RESTful Web Services. OAuth2 is very powerful. Now a days, majority of the REST API are protected with OAuth2 due to it’s rock solid security.OAuth2 has two parts01. Client02. ServerOAuth2 ClientIf you’re familiar with this screen, you know what I’m talking about. Anyway, Let me explain the story behind the image:You’re building a user facing application that works with user’s github repositories. For example: CI tools (...)