0

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?

STh
  • 746
  • 9
  • 24

2 Answers2

0

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.

jasonandmonte
  • 1,869
  • 2
  • 15
  • 24
  • I did so, but I wasn't asked to allow access to my scopes while logging in again with all the accounts... And I didn't get the refresh_token back. Anyways, thank you; I should already have thought about it before asking the question... – STh Jul 03 '20 at 13:00
0

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

STh
  • 746
  • 9
  • 24