Ok. I don’t really have any previous experience with oAuth - that’s why I was confused.
Thanks a lot for your time and helping me.
I will try to implement this later. After all I’m not sure if manual token refreshing wouldn’t be easier in my case, because all of this isn’t so trivial.