It’s not possible for you to get a token that doesn’t expire, they always will. What you can do though is use the Refresh Token that you get as part of the Authorization Code Flow to programatically get new access and refresh tokens: https://dev.twitch.tv/docs/authentication#refreshing-access-tokens