How to set generic OAuth

Hey!
Could you please help me, to set generic OAuth to my chronograf?
I’ve already tried to set Github OAuth, it works great. Now I want to make my own OAuth to store it locally without going anywhere online.
I’m new to it.
Thanks in advance!