This project is used to generate OAUTH refresh tokens for different providers.
This project can only be used in your local machine. Run the following to get started:
yarn dev
To use this to generate OATUH tokens from the Google Identity API for server-side webapps peroform the following steps.
- Add
http://localhost:3000/google
as a redirect_uri for your project at the Developer Console here. - Add your Client ID as
NEXT_PUBLIC_CLIENT_ID
and Client Secret asNEXT_PUBLIC_CLIENT_SECRET
to your.env
. - Run
yarn dev
and go to http://localhost:3000/google ro get started. - Input the scopes you requested and click Login with Google.
OAUTH Refresher is open source software by MeetBit Inc. licensed as MIT.