# My oauth keeps changing randomly

**URL:** <https://discuss.dev.twitch.com/t/my-oauth-keeps-changing-randomly/9699>\
**Category:** API\
**Created:** [March 20, 2017, 3:39am UTC](https://discuss.dev.twitch.com/t/my-oauth-keeps-changing-randomly/9699 "2017-03-20T03:39:44Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![AncientEntity](https://avatars.discourse-cdn.com/v4/letter/a/3e96dc/32.png) [@AncientEntity](https://discuss.dev.twitch.com/u/AncientEntity)\
**Post date:** [March 20, 2017, 3:39am UTC](https://discuss.dev.twitch.com/t/my-oauth-keeps-changing-randomly/9699/1 "2017-03-20T03:39:44Z")

</div>

So I dont know why but im testing a bot for my stream and such but I keep running into problems.  
For some reason it was all good but then it started…

Each time i get a new oauth it feels like a new one keeps generating. Anybody else having this problem? im probably being a noob right now.

Whats weird is sometimes i get a ping back saying it was a successful login but it wont chat or anything. Works perfectly fine on its account twitch page.

---

<div class="post-metadata">

**Author:** ![TournyMasterBot](https://d3ovvz0v2ajtpu.cloudfront.net/user_avatar/discuss.dev.twitch.com/tournymasterbot/32/2013_2.png) [@TournyMasterBot](https://discuss.dev.twitch.com/u/TournyMasterBot)\
**Post date:** [March 20, 2017, 4:00am UTC](https://discuss.dev.twitch.com/t/my-oauth-keeps-changing-randomly/9699/2 "2017-03-20T04:00:17Z")

</div>

You need to do the oauth flow _once_ and save the token. It will change every time you do the oauth flow.

---

<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:** [April 19, 2017, 4:07am UTC](https://discuss.dev.twitch.com/t/my-oauth-keeps-changing-randomly/9699/3 "2017-04-19T04:07:54Z")

</div>

Closed on April 19, 2017, 4:07am UTC

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