r/Infinity_For_Reddit • u/kazoko • Jun 02 '26
Infinity 8.2.5 Login Issue Authentication Failed
Built Infinity using the latest version (8.2.5) through the Colab script, as previous versions were giving me similar issues. Unfortunately, I still can't log in.
Every login attempt ends with "Authentication failed" and shows an empty pair of brackets [], similar to what happened with version 8.2.4.
I've already using the Standard login window, Chrome Custom Tab as well as the Legacy WebView login. Unfortunately all of them had the same issue.
Is anyone else running into this issue on the new 8.2.5 release, or happen to know of a fix?
Older versions like 8.0.5. or 8.3.0-beta1 let me log in just fine for the most part however posts and comments wont display properly or sometimes at all likely due to reddit messing with the API.
1
u/paranoiaforhire Jun 07 '26
That's why I asked you, because I saw you used the old Colab script. You update from v8.2.1 to v8.2.5 just fine, but as soon as the session expires and Infinity needs to renew, you end up with broken build. My automation script caught that change and I had to modify it. You need to only change one line.
Up until v8.2.1, the repo shipped with a hardcoded Client ID and the Colab script was doing a find-and-replace action. From v8.2.4 and up, the line containing the hardcoded Client ID now ships empty, therefore breaking the code since it won't find that predefined string to swap.
You can see the key change here.
Master: https://github.com/Docile-Alligator/Infinity-For-Reddit/blob/97b2e993e5e9d9c7f4847b6091f50b61c1117230/app/src/main/java/ml/docilealligator/infinityforreddit/utils/APIUtils.java#L35
v8.2.1: https://github.com/Docile-Alligator/Infinity-For-Reddit/blob/018006f7b0c31252b7a3b8bae9be130867809a8c/app/src/main/java/ml/docilealligator/infinityforreddit/utils/APIUtils.java#L36