# SocketIO with Auth0

**URL:** <https://community.auth0.com/t/socketio-with-auth0/100433>\
**Category:** Get Help\
**Tags:** apis, application\
**Created:** [February 14, 2023, 3:35am UTC](https://community.auth0.com/t/socketio-with-auth0/100433 "2023-02-14T03:35:17Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Cowthulhu](https://upload.wikimedia.org/wikipedia/commons/thumb/7/7c/User_font_awesome.svg/768px-User_font_awesome.svg.png) [@Cowthulhu](https://community.auth0.com/u/Cowthulhu)\
**Post date:** [February 14, 2023, 3:35am UTC](https://community.auth0.com/t/socketio-with-auth0/100433/1 "2023-02-14T03:35:17Z")

</div>

Hey all -

Are there any examples out there that show using SocketIO.js with Auth0?

I’ve got a NextJS front-end, and the issue I’m running into is that I can’t secure a socket connection to my backend server without an auth token… but you’re not supposed to expose auth tokens to the client.

Anyone have any experience with this, or have any links to example repos that address this?  
Thanks!  
David

---

<div class="post-metadata">

**Author:** ![konrad.sopala](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/konrad.sopala/32/13516_2.png) [@konrad.sopala](https://community.auth0.com/u/konrad.sopala)\
**Post date:** [February 14, 2023, 2:08pm UTC](https://community.auth0.com/t/socketio-with-auth0/100433/2 "2023-02-14T14:08:28Z")

</div>

Hey there!

As far as I remember we used to support that and there was a repo under auth0-community GitHub org but it’s been deprecated and archived at some point in time if I remember correctly. You can always advocate for that using our Feedback category here:

> **[Feedback](https://community.auth0.com/c/feedback/95)**
>
> Submit and vote on product feedback and feature requests.

---

<div class="post-metadata">

**Author:** ![Cowthulhu](https://upload.wikimedia.org/wikipedia/commons/thumb/7/7c/User_font_awesome.svg/768px-User_font_awesome.svg.png) [@Cowthulhu](https://community.auth0.com/u/Cowthulhu)\
**Post date:** [February 14, 2023, 6:20pm UTC](https://community.auth0.com/t/socketio-with-auth0/100433/3 "2023-02-14T18:20:50Z")

</div>

Sweet, thanks for the reply.

Do you have support any other websocket-esque frameworks for JS? I saw a mention of server-side events on your blog, do you support anything bidirectional?

---

<div class="post-metadata">

**Author:** ![system](https://global.discourse-cdn.com/auth0/original/3X/b/5/b560f266932fcce5d57f09a6595bd50518cae3f3.jpeg) [@system](https://community.auth0.com/u/system)\
**Post date:** [February 28, 2023, 6:21pm UTC](https://community.auth0.com/t/socketio-with-auth0/100433/4 "2023-02-28T18:21:32Z")

</div>

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