Is Auth Token Renewal Supported? #811
Replies: 1 comment
-
Discord does not use bearer tokens. Authentication tokens do not need renewal nor do they have time-based expiration. If the token is invalidated, the program is going to simply crash if you don't handle the error, it's not going to keep trying to make API calls. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
From my limited understanding, part of the user token renewal process is time-based. I'd like to be able to run a script for long periods of time, with builtin delays to mimic user behavior, but I am worried about running the client too long on a token that becomes invalid, and making bad API calls. Do I need to do anything in my code to renew the token, or is that only a concern when a new client connection is opened?
Beta Was this translation helpful? Give feedback.
All reactions