Hello Twitch Developer Support,
I’m experiencing a persistent issue with OAuth authentication and EventSub subscriptions, even after regenerating my Client Secret.
Context:
-
I am using a Twitch Developer Application (OAuth 2.0)
-
I am implementing EventSub (WebSocket) for
channel.channel_points_custom_reward_redemption.add -
I am using a User Access Token (not client credentials) with the following scopes:
-
channel:read:redemptions -
channel:manage:redemptions -
chat:read -
chat:edit
-
Problem:
After regenerating the Client Secret in the Twitch Developer Console and generating a new User Access Token with the correct scopes, I still encounter the following errors:
-
When validating or exchanging credentials:HTTP 403 Forbidden
message: “invalid client secret” -
When subscribing to EventSub:This token does not have any of the requested scopes
(channel:read:redemptions, channel:manage:redemptions) -
This happens even though:
-
The scopes are correctly selected during authorization
-
The token is freshly generated
-
The token works for chat and other user-level API calls
-
The broadcaster ID and login are correct
-
The application was restarted after regeneration
Additional notes:
-
This setup previously worked with the same logic
-
The issue started after regenerating the Client Secret
-
It appears as if the regenerated secret is not being accepted or properly propagated
-
Client Credentials flow is NOT being used for EventSub (only User Access Token)
Question:
Is there a known issue where a regenerated Client Secret may remain invalid, cached, or desynchronized?
Is there an additional step required after regenerating a Client Secret to make it fully active for OAuth and EventSub?I’m happy to provide:
-
App Client ID
-
App name
-
Timestamps of regeneration
-
Request IDs / logs if needed
Thank you for your help.
Best regards, Mario
-