How to reset Google API project

261 views Asked by At

In my google project (which is only in development yet, so I've just a dummy user), I have registered a few users using oAuth2.

The first time I registered the users, I got the refresh_token back, but I didn't save it... So now I want to "reset" the project's registered users, so that google sends me the refresh_token again.

Is that possible?

2

There are 2 answers

0
STh On BEST ANSWER

Actually I found the answer here. So it should work just with removing the permission for the single app.

1
jasonandmonte On

You could potentially create a new OAuth 2.0 Client ID for the project. This should force the client to go through the user consent flow again at which point you could access the refresh token.