How to implement OAuth2.0 with tyk open source version?

I that case, take a read through here and see what might be the best fit for you. Note that the API Gateway and Dashboard have different APIs, so identify an approach that will work for you and with the Gateway API only.