Firebot
Firebot copied to clipboard
feat: Split auth and token endpoints if auth exist
Description of the Change
there was a need by me to have the auth and token endpoints to be different in some use cases this simply adds the auth as an optional end point and if it exists then it use that instead of the token endpoint. while i was editing the file there was a small linting issue that i resolved.
Applicable Issues
#2504
Testing
i have ran this for a full week reauthed with streamlabs and tippy stream and twitch(both main account and bot account) to see if any issues would arise.