'Where does the Github OAuth token stored in code-server?

In code-server, for a repo cloned using HTTPS and when performing git operation like git fetch, git push etc. For the first time it prompts to sign-in and takes through an OAuth flow, and ends up in the following purple screen:

But in every consecutive git operations it does not prompt to sign-in again. Hence where does the OAuth token is stored in code-server?

And how does this OAuth flow happens?

purple screen



Solution 1:[1]

The authorisation code is just for the authorization server's usage. And it's kept in a cache that the authorization endpoint and token endpoint may access.

Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source
Solution 1 Rajeev Bera