const client = new OAuth2Client();
const ticket = await client.verifyIdToken({
idToken: idToken,
audience: <<client_id>> // Specify the CLIENT_ID of the app that accesses the backend
});
const payload: TokenPayload | undefined = ticket.getPayload();
Once a timeout occurs, it does not resolve naturally, and if the server IP address is replaced, it will operate normally again for a certain period of time.
Environment details
google-auth-library
version: 9.6.3Steps to reproduce
referred to that
Once a timeout occurs, it does not resolve naturally, and if the server IP address is replaced, it will operate normally again for a certain period of time.