After some HTTP requests to the GitHub API, it starts refusing the calls saying:
API rate limit exceeded for xxx.xxx.xxx.xxx. (But here's the good news: Authenticated requests get a higher rate limit. Check out the documentation for more details.)
Now, there is a way to increase the unauthenticated rate limit for OAuth applications which involves using the client secret.
Of course we don't want to put or client secret on the public source code of a front-end app, as also the documentation recommends:
Note: Never share your client secret with anyone or include it in client-side browser code. Use the method shown here only for server-to-server calls.
so I was wondering what's the best way to solve the issue of the rate limit in a front end application.