OAuth flow

You're right, requiring ../../ is not ideal, but other solution can be found without using function generator and closure each time