Call the validate token endpoint
Example: Token Checker | Twitch API Example
Or call the Get Users endpoint
Example: Twitch Implicit Auth Example
or since you seem to be using OIDC (id_token) call the user info endpoint
Which as per well known
https://id.twitch.tv/oauth2/.well-known/openid-configuration
is
https://id.twitch.tv/oauth2/userinfo