Utils for google authorisation
npm install @smartsoft001/googlenpm i @smartsoft001/google
Methods:
| getUserId | Makes a GET request to Google's OAuth tokeninfo endpoint to validate the token and get user information |
| getData | Makes the same GET request to the tokeninfo endpoint, but processes the response data to return an object containing id and email |