As mentioned in this article, accessing GitHub API after authenticating with GitHub credentials through Auth0 looks to be a two step process. After authentication we get the Auth0 access token and using that we need to retrieve IDP’s (GitHub in this case) token. Also, this seems to require a server to be run?
While going through Firebase auth with GitHub documentation, I see that after authentication, we directly get GitHub’s access token which can be used to call GitHub API.
I’m playing around with GitHub API in a simple React app and don’t want to run a server separately for auth or as a proxy for GitHub API. Is there a way to get GitHub’s access token directly after authentication via Auth0? If not, what’s the reason?