# I want to use EventSub for 3rd party chat client but does it support anonymous users?

**URL:** <https://discuss.dev.twitch.com/t/i-want-to-use-eventsub-for-3rd-party-chat-client-but-does-it-support-anonymous-users/59801>\
**Category:** Chat and IRC\
**Created:** [August 5, 2024, 12:24pm UTC](https://discuss.dev.twitch.com/t/i-want-to-use-eventsub-for-3rd-party-chat-client-but-does-it-support-anonymous-users/59801 "2024-08-05T12:24:57Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![cniekirk](https://avatars.discourse-cdn.com/v4/letter/c/bc79bd/32.png) [@cniekirk](https://discuss.dev.twitch.com/u/cniekirk)\
**Post date:** [August 5, 2024, 12:24pm UTC](https://discuss.dev.twitch.com/t/i-want-to-use-eventsub-for-3rd-party-chat-client-but-does-it-support-anonymous-users/59801/1 "2024-08-05T12:24:57Z")

</div>

Most 3rd party client implementations I’ve seen use the “justinfan” trick to connect to IRC anonymously as well as supporting logged in users.

I’d like to use EventSub for my chat client as it seems much easier to deal with on the client side but not supporting anonymous users like IRC does could be a showstopper.

---

<div class="post-metadata">

**Author:** ![BarryCarlyon](https://d3ovvz0v2ajtpu.cloudfront.net/user_avatar/discuss.dev.twitch.com/barrycarlyon/32/253_2.png) [@BarryCarlyon](https://discuss.dev.twitch.com/u/BarryCarlyon)\
**Post date:** [August 5, 2024, 12:37pm UTC](https://discuss.dev.twitch.com/t/i-want-to-use-eventsub-for-3rd-party-chat-client-but-does-it-support-anonymous-users/59801/2 "2024-08-05T12:37:14Z")

</div>

Eventsub doesn’t support anonomous users no.

> [@](#):
>
> ### If you are using EventSub over Websockets:
> 
> For example you are making a third party chat client, or you are a game client running from the game.
> 
> Just generated user access token with the following scopes
> 
> - `user:read:chat` from the user you wish to read chat as
> 
> You then use that user access token to create subscriptions to your socket.

- From : [twitch\_misc/eventsub/websockets/web/chat at main · BarryCarlyon/twitch\_misc · GitHub](https://github.com/BarryCarlyon/twitch_misc/tree/main/eventsub/websockets/web/chat#how-does-authentication-work)
- Docs: [Authenticating and Setting up EventSub | Twitch Developers](https://dev.twitch.tv/docs/chat/authenticating/)

You cannot “auth” an anonomous user.

> [@cniekirk](#):
>
> I’d like to use EventSub for my chat client as it seems much easier to deal with on the client side but not supporting anonymous users like IRC does could be a showstopper.

To access the API at all requires an access token so to make any API calls you will need to authenticate the user to read chat as and/or read the API as

> [@cniekirk](#):
>
> but not supporting anonymous users like IRC does could be a showstopper.

What is the use case to require to connect to chat without identificiation?

---

<div class="post-metadata">

**Author:** ![system](https://d2opxh93rbxzdn.cloudfront.net/original/2X/0/05909729875cce3b53e59d5561c4d23bb14948fc.png) [@system](https://discuss.dev.twitch.com/u/system)\
**Post date:** [September 4, 2024, 12:37pm UTC](https://discuss.dev.twitch.com/t/i-want-to-use-eventsub-for-3rd-party-chat-client-but-does-it-support-anonymous-users/59801/3 "2024-09-04T12:37:23Z")

</div>

Closed on September 4, 2024, 12:37pm UTC

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.
